[patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32.
authorKai Tietz <kai.tietz@onevision.com>
Fri, 18 Apr 2008 09:06:22 +0000 (09:06 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Fri, 18 Apr 2008 09:06:22 +0000 (09:06 +0000)
* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.

ld/ChangeLog
ld/scripttempl/pep.sc

index 106161cc3c48646901943d0da23575639f906770..792ca9ae12d6dbba4db603ea5c123c15b966b4e2 100644 (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.
index e571bd350964c1bbaa5563ae026db594552f6234..e19026c9efa4d677634128544b756cd5106b8e7a 100644 (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__ = . ;