summaryrefslogtreecommitdiff
path: root/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch')
-rw-r--r--packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch b/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch
new file mode 100644
index 0000000000..7243464224
--- /dev/null
+++ b/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch
@@ -0,0 +1,10 @@
+--- syslinux-2.11/ldlinux.asm.orig 2005-11-01 14:25:10.767581544 -0700
++++ syslinux-2.11/ldlinux.asm 2005-11-01 14:25:42.175806768 -0700
+@@ -724,7 +724,6 @@
+
+ mov eax,[bsHidden] ; Hidden sectors
+ add edx,[bxResSectors]
+- add eax,edx
+ mov ecx,[bxFATsecs] ; Sectors/FAT
+ fat_load_loop:
+ mov ebp,ecx ; Make sure high EBP = 0