* scripttempl/elf.sc (.fini_array): Place input .fini_array after
authorAlan Modra <amodra@gmail.com>
Fri, 26 Feb 2010 11:36:32 +0000 (11:36 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Feb 2010 11:36:32 +0000 (11:36 +0000)
.fini_array.*.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.

ld/ChangeLog
ld/scripttempl/armbpabi.sc
ld/scripttempl/elf.sc
ld/scripttempl/elf32sh-symbian.sc
ld/scripttempl/elf64hppa.sc
ld/scripttempl/elfxtensa.sc

index 47511bb0e4f19b11f3599a96664d9e79d9ce59d1..93471ef2218fa353b2a659b9a7cc82f051bedb56 100644 (file)
@@ -1,3 +1,12 @@
+2010-02-26  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/elf.sc (.fini_array): Place input .fini_array after
+       .fini_array.*.
+       * scripttempl/armbpabi.sc: Likewise.
+       * scripttempl/elf32sh-symbian.sc: Likewise.
+       * scripttempl/elf64hppa.sc: Likewise.
+       * scripttempl/elfxtensa.sc: Likewise.
+
 2010-02-25  Alan Modra  <amodra@gmail.com>
 
        PR ld/11304
index 90da2ed70dc16dee685a336cf581dc7186d76837..556ff1e44eb8fa1865af4208f357ba26cdbf82e8 100644 (file)
@@ -232,8 +232,8 @@ cat <<EOF
   .fini_array   ${RELOCATING-0} :
   {
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (__fini_array_start = .);}}
-    KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
+    KEEP (*(.fini_array))
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (__fini_array_end = .);}}
   }
 
index 5378aface13750839825c852cbe809984103f922..a17eb27dfab5ad69cdaba214531fa714cfc6751d 100644 (file)
@@ -465,8 +465,8 @@ cat <<EOF
   .fini_array   ${RELOCATING-0} :
   {
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_start = .);}}
-    KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
+    KEEP (*(.fini_array))
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_end = .);}}
   }
   ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}}}
index a0b6a4ff3aa1b290d9e6b074210354f26e070434..1cfbbc6cc6e63c4118138dc02f4709faa914aa0f 100644 (file)
@@ -224,8 +224,8 @@ SECTIONS
   .fini_array   ${RELOCATING-0} :
   {
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (__fini_array_start = .);}}
-    KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
+    KEEP (*(.fini_array))
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (__fini_array_end = .);}}
   }
 
index 90aedb83d3a861f47862df9218d36906dcd447b2..452ae7a0554cae17277f1e006fdd1b51a7df9d21 100644 (file)
@@ -438,8 +438,8 @@ cat <<EOF
   .fini_array   ${RELOCATING-0} :
   {
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_start = .);}}
-    KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
+    KEEP (*(.fini_array))
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_end = .);}}
   }
   ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}}}
index 588ec0c45594be70966fd5fc4fd0245b02bfe26a..22fde0c777f88e22d3af48edcd6714e6b627a935 100644 (file)
@@ -448,8 +448,8 @@ cat <<EOF
   .fini_array   ${RELOCATING-0} :
   {
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_start = .);}}
-    KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
+    KEEP (*(.fini_array))
     ${RELOCATING+${CREATE_SHLIB-PROVIDE_HIDDEN (${USER_LABEL_PREFIX}__fini_array_end = .);}}
   }
   ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}}}