Jason Merrill <jason@yorick.cygnus.com>
authorRichard Henderson <rth@redhat.com>
Wed, 2 Jun 1999 20:47:23 +0000 (20:47 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 2 Jun 1999 20:47:23 +0000 (20:47 +0000)
        * scripttempl/v850.sc: Add initp support.

ld/ChangeLog
ld/scripttempl/v850.sc

index c73a3dfe526afe363888c1eb5cca4e8692a313fe..2a563fea071c51d323ad4ab861639f0ffea8ef22 100644 (file)
@@ -1,3 +1,7 @@
+1999-06-02  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * scripttempl/v850.sc: Add initp support.
+
 1999-06-02  Nick Clifton  <nickc@cygnus.com>
 
        * emultempl/pe.em: Rename global arm interworking functions to
index 6b2f7e545640307b36587fe256d8d7db7a0f90b0..0a20954d65ca7eb4c7a508a1ab4e2e3fcf6450e4 100644 (file)
@@ -94,13 +94,17 @@ SECTIONS
   .data1       : { *(.data1) }
   .ctors       : {
     ${RELOCATING+___ctors = .;}
-    KEEP (*(.ctors))
+    KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
+    KEEP (*(SORT(.ctors.*)))
+    KEEP (*crtend(.ctors))
     ${RELOCATING+___ctors_end = .;}
   }
 
   .dtors       : {
     ${RELOCATING+___dtors = .;}
-    KEEP (*(.dtors))
+    KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
+    KEEP (*(SORT(.dtors.*)))
+    KEEP (*crtend.o(.dtors))
     ${RELOCATING+___dtors_end = .;}
   }