diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-05 14:07:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-05 14:07:32 -0700 |
commit | b5f98decd092f6358043ff57e18383268b12c1f9 (patch) | |
tree | 0a2cb6578ca72c757d06d2926e7f99fb91b0ac0a /core/Makefile | |
parent | 993ffbac4aa266d83602f736a51450345ef92314 (diff) | |
download | syslinux-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/Makefile | 2 |
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 $< $@ |