From b618d8cfc54f84d4ed03dc7b7fa510c872e6128a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 16 Sep 2015 07:13:58 +0200 Subject: Add RTEMS linker sets Update #2408. --- c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/moxie') diff --git a/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds b/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds index 15be77d76a..e1e489c1fc 100644 --- a/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds +++ b/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds @@ -130,7 +130,7 @@ SECTIONS { KEEP (*(.fini)) } =0 - .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) } + .rodata : { *(.rodata) *(.rodata.*) KEEP (*(SORT(.rtemsroset.*))) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } .tdata : { _TLS_Data_begin = .; @@ -156,6 +156,7 @@ SECTIONS { *(.data) *(.data.*) + KEEP (*(SORT(.rtemsrwset.*))) *(.gnu.linkonce.d*) SORT(CONSTRUCTORS) } -- cgit v1.2.3