From 7ec21960d3a6f5eda28eba3397ecbe855d909c57 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 20 May 2005 13:29:04 +0000 Subject: Add missing sections. --- c/src/lib/libbsp/sh/shsim/startup/linkcmds | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c') 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. */ -- cgit v1.2.3