aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-03-01 20:14:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-03-01 20:14:59 -0800
commit89aee1f18626a9e66c9c5f00be1d0b079e128b2c (patch)
treebe12cda12c68356e594e5b54eea42cfedd4af731
parent874c7c79d8ab81d8add5791355bb41f12c1d22bc (diff)
downloadsyslinux-89aee1f18626a9e66c9c5f00be1d0b079e128b2c.tar.gz
syslinux-89aee1f18626a9e66c9c5f00be1d0b079e128b2c.tar.xz
syslinux-89aee1f18626a9e66c9c5f00be1d0b079e128b2c.zip
syslinux.ld: align the initial heap to 4K rather than 64K
There is absolutely no reason to align to 64K. Correct the note about this being the heap; COM32R modules were Syslinux 4.x specific. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/i386/syslinux.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld
index 94f842fa..36b1a69b 100644
--- a/core/i386/syslinux.ld
+++ b/core/i386/syslinux.ld
@@ -372,8 +372,8 @@ SECTIONS
_end = .;
- /* COM32R and kernels are loaded after our own PM code */
- . = ALIGN(65536);
+ /* The first block of the heap is here */
+ . = ALIGN(4096);
free_high_memory = .;
/* Stuff we don't need... */