From 9a2790e328c4cabefa201995aa4812be414d93c3 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 28 Oct 2016 12:24:48 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/17180 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel --- src/lib/program.ld | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') 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 = .); -- cgit v1.2.3