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:
parent
f4d2c5cd50
commit
4705546366
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@
|
|||
|
||||
*(.data);
|
||||
*(.data.*);
|
||||
*(.sdata);
|
||||
*(.sdata.*);
|
||||
|
||||
#ifdef __PRE_RAM__
|
||||
PROVIDE(_preram_cbmem_console = .);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue