diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-02-05 11:09:49 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-18 18:51:28 +0100 |
commit | 02fdf718a4b2a7053f19748a0ac0011aa576eb69 (patch) | |
tree | 3fbcb74270a59b984d912c988920ab0e41346df7 /src/lib | |
parent | 3bf0ce79b91a432344c42287b22a7704561ab68e (diff) |
rmodule: include heap in bss section
By including the heap in the bss output section the size is accounted
for in a elf PT_LOAD segment. Without this change the heap wasn't being
put into a PT_LOAD segment. The result is a nop w.r.t. functionality,
but readelf and company will have proper MemSiz fields.
Change-Id: Ibfe9bb87603dcd4c5ff1c57c6af910bbba96b02b
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2750
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/rmodule.ld | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld index 4c13c84666..fdee279697 100644 --- a/src/lib/rmodule.ld +++ b/src/lib/rmodule.ld @@ -74,9 +74,7 @@ SECTIONS *(COMMON); . = ALIGN(8); _bss_end = .; - } - .heap (NOLOAD) : { /* * Place the heap after BSS. The heap size is passed in by * by way of ld --defsym=__heap_size=<> |