From fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 21 May 2015 10:26:49 +0200 Subject: add malloc Allocate the e820 map in the E-segment. Signed-off-by: Paolo Bonzini --- flat.lds | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flat.lds') diff --git a/flat.lds b/flat.lds index d12b835..be84ec3 100644 --- a/flat.lds +++ b/flat.lds @@ -3,14 +3,16 @@ OUTPUT_ARCH(i386) SECTIONS { . = 1024K - 64K; + stext = .; .text : { *(.text.startup) *(.text) *(.text.*) } - . = ALIGN(4K); + . = ALIGN(16); .data : { *(.data) } . = ALIGN(16); .rodata : { *(.rodata) } . = ALIGN(16); .bss : { *(.bss) } - . = ALIGN(4K); + . = ALIGN(16); + edata = .; . = 1024K - 128; .init : { *(.init); -- cgit v1.1