summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-10-28 12:24:48 -0500
committerAaron Durbin <adurbin@chromium.org>2016-10-31 19:33:44 +0100
commit9a2790e328c4cabefa201995aa4812be414d93c3 (patch)
tree4e73aec5259886e93d08dda21950d3b95576b928
parentef405a2c04d2eac47bc6e28de8a4040ed9e0c611 (diff)
downloadcoreboot-9a2790e328c4cabefa201995aa4812be414d93c3.tar.xz
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>
-rw-r--r--src/lib/program.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/program.ld b/src/lib/program.ld
index 4668aea2c6..1526aadf0a 100644
--- a/src/lib/program.ld
+++ b/src/lib/program.ld
@@ -100,6 +100,8 @@
*(.data);
*(.data.*);
+ *(.sdata);
+ *(.sdata.*);
#ifdef __PRE_RAM__
PROVIDE(_preram_cbmem_console = .);