commit | b9edbbd7bf799a194fc76bf9a514e4547fe97d26 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@google.com> | Tue Apr 17 15:59:56 2012 -0700 |
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | Wed Nov 07 18:30:11 2012 +0100 |
tree | c15d81686e844ee230b54a7caf3c822f7a8cfaaa | |
parent | accc6a5e046b66c84b01556e93a71800afe8ea68 [diff] |
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> Reviewed-on: http://review.coreboot.org/1721 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript index 4925e86..43b92207 100644 --- a/payloads/libpayload/lib/libpayload.ldscript +++ b/payloads/libpayload/lib/libpayload.ldscript
@@ -85,5 +85,8 @@ _end = .; - /DISCARD/ : { *(.comment) } + /DISCARD/ : { + *(.comment) + *(.note*) + } }