* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Jul 2007 14:47:44 +0000 (14:47 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Jul 2007 14:47:44 +0000 (14:47 +0000)
ld/ChangeLog
ld/scripttempl/pep.sc

index 3a2463e..f0a5ab9 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-24  Kai Tietz  <kai.tietz@onevision.com>
+
+       * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
+
 2007-07-21  Nick Clifton  <nickc@redhat.com>
 
        * sha1.h: Change to use version 3 of the GNU General Public
index 7237832..b7f0c1b 100644 (file)
@@ -64,9 +64,9 @@ SECTIONS
     *(.glue_7t)
     *(.glue_7)
     ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
-                       LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0); }
+                       LONG (-1); LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0); LONG (0); }
     ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
-                       LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0); }
+                       LONG (-1); LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0); LONG (0); }
     ${RELOCATING+ *(.fini)}
     /* ??? Why is .gcc_exc here?  */
     ${RELOCATING+ *(.gcc_exc)}