aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-24 14:47:44 +0000
committerNick Clifton <nickc@redhat.com>2007-07-24 14:47:44 +0000
commit9b9966104b89e9ff4db9a5da3a049b461d765a41 (patch)
tree8dc288e2133274534330397d32dc0b94eb89c891
parent69ae91d31143229dbadde41b7a9069d6216d545c (diff)
downloadgdb-9b9966104b89e9ff4db9a5da3a049b461d765a41.zip
gdb-9b9966104b89e9ff4db9a5da3a049b461d765a41.tar.gz
gdb-9b9966104b89e9ff4db9a5da3a049b461d765a41.tar.bz2
* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/pep.sc4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3a2463e..f0a5ab9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc
index 7237832..b7f0c1b 100644
--- a/ld/scripttempl/pep.sc
+++ b/ld/scripttempl/pep.sc
@@ -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)}