UPSTREAM: 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.

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I0680228f8424f99611914ef5fc31adf5d3891eee
Reviewed-on: https://chromium-review.googlesource.com/406945
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Aaron Durbin 2016-10-28 12:24:48 -05:00 committed by chrome-bot
commit 4705546366

View file

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