summaryrefslogtreecommitdiff
path: root/libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch')
-rw-r--r--libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch b/libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch
new file mode 100644
index 000000000..48df46f12
--- /dev/null
+++ b/libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch
@@ -0,0 +1,12 @@
+diff --git a/core/isolinux.asm b/core/isolinux.asm
+index bd4e9556922d..c4db4133e274 100644
+--- a/core/isolinux.asm
++++ b/core/isolinux.asm
+@@ -420,7 +420,7 @@ MaxLMA equ 384*1024 ; Reasonable limit (384K)
+ call getlinsec
+ pop eax
+ pop cx
+- mov dx,cx
++ movzx edx,cx
+ pop bp
+ pop bx