src/lib/rmodule.ld: DISCARD (.note|.note.*) sections
We have no need for these sections winding up in the build leading to possible overlaps, such as in the case of Clang builds. Discard sections from inclusion into the resulting binary. Change-Id: Ie807e5809594dcc6e94660a64e359e3b2ca1a0f6 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7439 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
5cbbc70245
commit
9cb5a3af34
|
@ -97,5 +97,7 @@ SECTIONS
|
|||
/DISCARD/ : {
|
||||
/* Drop unnecessary sections. */
|
||||
*(.eh_frame);
|
||||
*(.note);
|
||||
*(.note.*);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue