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>
This commit is contained in:
parent
3bf0ce79b9
commit
02fdf718a4
|
@ -74,9 +74,7 @@ SECTIONS
|
||||||
*(COMMON);
|
*(COMMON);
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_bss_end = .;
|
_bss_end = .;
|
||||||
}
|
|
||||||
|
|
||||||
.heap (NOLOAD) : {
|
|
||||||
/*
|
/*
|
||||||
* Place the heap after BSS. The heap size is passed in by
|
* Place the heap after BSS. The heap size is passed in by
|
||||||
* by way of ld --defsym=__heap_size=<>
|
* by way of ld --defsym=__heap_size=<>
|
||||||
|
|
Loading…
Reference in New Issue