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.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32crx.sc b/ld/scripttempl/elf32crx.sc
index 46acea1..64fefda 100644
--- a/ld/scripttempl/elf32crx.sc
+++ b/ld/scripttempl/elf32crx.sc
@@ -58,14 +58,14 @@ SECTIONS
.init :
{
__INIT_START = .;
- KEEP (*(.init))
+ KEEP (*(SORT_NONE(.init)))
__INIT_END = .;
} > rom
.fini :
{
__FINI_START = .;
- KEEP (*(.fini))
+ KEEP (*(SORT_NONE(.fini)))
__FINI_END = .;
} > rom