Browse Source

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

* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
msnyder-reverse-20080609-branch
Kai Tietz 19 years ago
parent
commit
da6fa31a22
  1. 4
      ld/ChangeLog
  2. 1
      ld/scripttempl/pep.sc

4
ld/ChangeLog

@ -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.

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

Loading…
Cancel
Save