summaryrefslogtreecommitdiff
path: root/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch
blob: 72434642245660c774d2b78a85c2c5e6004cc25a (plain)
1
2
3
4
5
6
7
8
9
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