Add SORT_NONE to .init and .fini in scripts
[deliverable/binutils-gdb.git] / ld / scripttempl / elf64hppa.sc
index 89271bbca8fc5a913673eaf2129f889210b09dac..ee8fb93bba3201c1b48cb537ea87322fd98d6841 100644 (file)
@@ -403,7 +403,7 @@ cat <<EOF
   .init         ${RELOCATING-0} :
   {
     ${RELOCATING+${INIT_START}}
-    KEEP (*(.init))
+    KEEP (*(SORT_NONE(.init)))
     ${RELOCATING+${INIT_END}}
   } =${NOP-0}
 
@@ -420,7 +420,7 @@ cat <<EOF
   .fini         ${RELOCATING-0} :
   {
     ${RELOCATING+${FINI_START}}
-    KEEP (*(.fini))
+    KEEP (*(SORT_NONE(.fini)))
     ${RELOCATING+${FINI_END}}
   } =${NOP-0}
   ${RELOCATING+PROVIDE (__${ETEXT_NAME} = .);}
This page took 0.023842 seconds and 4 git commands to generate.