From 1fa32646fbadd3b802242ca993226fc35741a035 Mon Sep 17 00:00:00 2001 From: Tomer Levi Date: Thu, 16 Sep 2004 16:27:00 +0000 Subject: Add KEEP for certain section's *personality* --- ld/scripttempl/elf32crx.sc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ld/scripttempl') diff --git a/ld/scripttempl/elf32crx.sc b/ld/scripttempl/elf32crx.sc index 4a893a0..67488ae 100644 --- a/ld/scripttempl/elf32crx.sc +++ b/ld/scripttempl/elf32crx.sc @@ -47,20 +47,20 @@ SECTIONS .init : { __INIT_START = .; - *(.init) + KEEP (*(.init)) __INIT_END = .; } > rom .fini : { __FINI_START = .; - *(.fini) + KEEP (*(.fini)) __FINI_END = .; } > rom .jcr : { - *(.jcr) + KEEP (*(.jcr)) } > rom .text : -- cgit v1.1