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/scripttempl/pep.sc | |
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/scripttempl/pep.sc')
-rw-r--r-- | ld/scripttempl/pep.sc | 1 |
1 files changed, 1 insertions, 0 deletions
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__ = . ; |