From 47055463668402d9c806653119ec67dd57e6c7ef Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 28 Oct 2016 12:24:48 -0500 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/17180 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel Change-Id: I0680228f8424f99611914ef5fc31adf5d3891eee Reviewed-on: https://chromium-review.googlesource.com/406945 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/lib/program.ld | 2 ++ 1 file changed, 2 insertions(+) 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 = .);