[syslinux:master] syslinux.ld: align the initial heap to 4K rather than 64K

syslinux-bot for H. Peter Anvin hpa at zytor.com
Tue Mar 1 20:45:03 PST 2016


Commit-ID:  89aee1f18626a9e66c9c5f00be1d0b079e128b2c
Gitweb:     http://www.syslinux.org/commit/89aee1f18626a9e66c9c5f00be1d0b079e128b2c
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 1 Mar 2016 20:14:59 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 1 Mar 2016 20:14:59 -0800

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 at zytor.com>

---
 core/i386/syslinux.ld | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld
index 94f842f..36b1a69 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... */


More information about the Syslinux-commits mailing list