aboutsummaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-04-05 14:07:32 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-04-05 14:07:32 -0700
commitb5f98decd092f6358043ff57e18383268b12c1f9 (patch)
tree0a2cb6578ca72c757d06d2926e7f99fb91b0ac0a /core/Makefile
parent993ffbac4aa266d83602f736a51450345ef92314 (diff)
downloadsyslinux-b5f98decd092f6358043ff57e18383268b12c1f9.tar.gz
core: Move sector 1 to address 0x8000 so it is aligned
Move sector 1 to 0x8000, so that it will be sector-aligned no matter what the sector size is (well, as long as it is <= 32K). This avoids potential conflicts between the 64K "seams" and the sector size. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 33ad7e95..e89c419a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -109,7 +109,7 @@ ldlinux.bss: ldlinux.bin
dd if=$< of=$@ bs=512 count=1
ldlinux.sys: ldlinux.bin
- dd if=$< of=$@ bs=512 skip=1
+ dd if=$< of=$@ bs=512 skip=2
codepage.cp: ../codepage/$(CODEPAGE).cp
cp -f $< $@