[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 106161c..792ca9a 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 e571bd3..e19026c 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__ = . ;