Add SORT_NONE to .init and .fini in scripts
[deliverable/binutils-gdb.git] / ld / scripttempl / elf32cr16.sc
index 9ae6bc255712501eaab35b882a5e390bdb097718..0da4603618c8742819c4562b60643858c2dedf1c 100644 (file)
@@ -62,14 +62,14 @@ SECTIONS
   .init :
   {
     __INIT_START = .;
-    KEEP (*(.init))
+    KEEP (*(SORT_NONE(.init)))
     __INIT_END = .;
   }${RELOCATING+ > rom}
 
   .fini :
   {
     __FINI_START = .;
-    KEEP (*(.fini))
+    KEEP (*(SORT_NONE(.fini)))
     __FINI_END = .;
   }${RELOCATING+ > rom}
 
This page took 0.023108 seconds and 4 git commands to generate.