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>
This commit is contained in:
Gabe Black 2012-04-17 15:59:56 -07:00 committed by Stefan Reinauer
parent accc6a5e04
commit b9edbbd7bf
1 changed files with 4 additions and 1 deletions

View File

@ -85,5 +85,8 @@ SECTIONS
_end = .; _end = .;
/DISCARD/ : { *(.comment) } /DISCARD/ : {
*(.comment)
*(.note*)
}
} }