lib/program.ld: add .sdata sections

Ron reported some toolchain emitting .sdata sections. Let's ensure
we catch objects in those sections instead of getting dropped on the
floor for architectures which emit those sections.

Change-Id: I0680228f8424f99611914ef5fc31adf5d3891eee
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17180
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Aaron Durbin
2016-10-28 12:24:48 -05:00
parent ef405a2c04
commit 9a2790e328

View File

@ -100,6 +100,8 @@
*(.data); *(.data);
*(.data.*); *(.data.*);
*(.sdata);
*(.sdata.*);
#ifdef __PRE_RAM__ #ifdef __PRE_RAM__
PROVIDE(_preram_cbmem_console = .); PROVIDE(_preram_cbmem_console = .);