summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-20 13:29:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-20 13:29:04 +0000
commit7ec21960d3a6f5eda28eba3397ecbe855d909c57 (patch)
tree1cf9b40b504b208932d91f743c074e6e4d386764 /c
parentAdd SHGEN. (diff)
downloadrtems-7ec21960d3a6f5eda28eba3397ecbe855d909c57.tar.bz2
Add missing sections.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/linkcmds7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/startup/linkcmds b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
index 76adc08e2b..4c4692be83 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/linkcmds
+++ b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
@@ -108,10 +108,13 @@ SECTIONS
*(.gnu.warning)
*(.gnu.linkonce.t*)
} > ram
+ .fini :
+ {
+ KEEP (*(.fini))
+ } =0
_etext = .;
PROVIDE (etext = .);
- .fini . : { *(.fini) } =0
- .rodata . : { *(.rodata*) *(.gnu.linkonce.r*) }
+ .rodata . : { *(.rodata*) .rodata.* *(.gnu.linkonce.r*) }
.rodata1 . : { *(.rodata1) }
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */