aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/ft32.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/ft32.sc')
-rw-r--r--ld/scripttempl/ft32.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/ft32.sc b/ld/scripttempl/ft32.sc
index 2d7d647..ef7f332 100644
--- a/ld/scripttempl/ft32.sc
+++ b/ld/scripttempl/ft32.sc
@@ -35,8 +35,8 @@ SECTIONS
*(.text${RELOCATING+*})
${RELOCATING+*(.strings)
*(._pm*)
- *(.init)
- *(.fini)
+ KEEP (*(SORT_NONE(.init)))
+ KEEP (*(SORT_NONE(.fini)))
_etext = .;
. = ALIGN(4);}
} ${RELOCATING+ > flash}