diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2008-04-18 09:06:22 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2008-04-18 09:06:22 +0000 |
commit | da6fa31a22d1d125309859f7b4322e3cd6977d90 (patch) | |
tree | 197e3dab35788d8f7455c7ce8afba81223548539 /ld | |
parent | a86a761e17b1c3a3591fc01f818776a00482218f (diff) | |
download | gdb-da6fa31a22d1d125309859f7b4322e3cd6977d90.zip gdb-da6fa31a22d1d125309859f7b4322e3cd6977d90.tar.gz gdb-da6fa31a22d1d125309859f7b4322e3cd6977d90.tar.bz2 |
[patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32.
* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 106161c..792ca9a 100644 --- a/ld/ChangeLog +++ b/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. diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index e571bd3..e19026c 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__ = . ; |