From 9b9966104b89e9ff4db9a5da3a049b461d765a41 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Jul 2007 14:47:44 +0000 Subject: * pep.sc: Correct ctor/dtor sentinels for 64-bit targets. --- ld/ChangeLog | 4 ++++ ld/scripttempl/pep.sc | 4 ++-- 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 + + * pep.sc: Correct ctor/dtor sentinels for 64-bit targets. + 2007-07-21 Nick Clifton * 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)} -- cgit v1.1