aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32crx.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/elf32crx.sc')
-rw-r--r--ld/scripttempl/elf32crx.sc6
1 files changed, 3 insertions, 3 deletions
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 :