diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 10:26:49 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 11:44:57 +0200 |
commit | fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e (patch) | |
tree | be8d9bd2dd39fb6cd6c090f8c7bbbf1d43a39f90 /flat.lds | |
parent | bd363b8030716a759823d8828690e49ad4d25f96 (diff) | |
download | qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.zip qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.tar.gz qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.tar.bz2 |
add malloc
Allocate the e820 map in the E-segment.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'flat.lds')
-rw-r--r-- | flat.lds | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |