From: Kai Tietz Date: Fri, 18 Apr 2008 09:06:22 +0000 (+0000) Subject: [patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=da6fa31a22d1d125309859f7b4322e3cd6977d90;p=deliverable%2Fbinutils-gdb.git [patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32. * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 106161cc3c..792ca9ae12 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2008-04-03 Kai Tietz + + * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. + 2008-04-08 Alan Modra * po/POTFILES.in: Regenerate. diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index e571bd3509..e19026c9ef 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -71,6 +71,7 @@ SECTIONS ${R_TEXT} *(.glue_7t) *(.glue_7) + ${CONSTRUCTING+. = ALIGN(8);} ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; LONG (-1); LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0); LONG (0); } ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;