[patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32.

* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
This commit is contained in:
Kai Tietz 2008-04-18 09:06:22 +00:00
parent a86a761e17
commit da6fa31a22
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-04-03 Kai Tietz <kai.tietz@onevision.com>
* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
2008-04-08 Alan Modra <amodra@bigpond.net.au>
* po/POTFILES.in: Regenerate.

View File

@ -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__ = . ;