* 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 3a2463e89dd34f864375bff2071d96ae67207e1c..f0a5ab9bfa58c5d3338989faa4cb1bfbca6e4c86 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 7237832e72b842b12dd62ab8f561021741383820..b7f0c1b200df7c976bfe42524b2136fdaacb626c 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)}