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:
parent
accc6a5e04
commit
b9edbbd7bf
|
@ -85,5 +85,8 @@ SECTIONS
|
||||||
|
|
||||||
_end = .;
|
_end = .;
|
||||||
|
|
||||||
/DISCARD/ : { *(.comment) }
|
/DISCARD/ : {
|
||||||
|
*(.comment)
|
||||||
|
*(.note*)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue