Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1721
-gerrit
commit 95a93fc1f235524ecbf91238d8f4163d363dbf1d Author: Gabe Black gabeblack@google.com Date: Tue Apr 17 15:59:56 2012 -0700
Discard .note sections when linking.
These end up being loaded at 0 otherwise and overwrite some coreboot tables.
Built and booted on Stumpy. Saw that the coreboot tables were no longer overwritten.
Change-Id: Ia9f521d976d0ad544a8205323ae0ddfa8d253d29 Signed-off-by: Gabe Black gabeblack@google.com --- payloads/libpayload/lib/libpayload.ldscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript index 4925e86..43b9220 100644 --- a/payloads/libpayload/lib/libpayload.ldscript +++ b/payloads/libpayload/lib/libpayload.ldscript @@ -85,5 +85,8 @@ SECTIONS
_end = .;
- /DISCARD/ : { *(.comment) } + /DISCARD/ : { + *(.comment) + *(.note*) + } }