* testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
authorCary Coutant <ccoutant@google.com>
Thu, 16 Feb 2012 19:37:34 +0000 (19:37 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 16 Feb 2012 19:37:34 +0000 (19:37 +0000)
* testsuite/Makefile.in: Regenerate.

gold/ChangeLog
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in

index df835359ad95dbe3fa6c6b3a390061af84a1f4b8..47ec2ec0fe9203553f3d49b64265a6176ee3fa21 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-16  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
+       * testsuite/Makefile.in: Regenerate.
+
 2012-02-14  Cary Coutant  <ccoutant@google.com>
 
        * options.cc (General_options::finalize): Disallow -pie and -static.
index c7209f31a9ec7160bc7140f6403a3c19db470c3a..f0f3e7bfa6ef6b323a65100666133fcbbafcc867 100644 (file)
@@ -864,7 +864,7 @@ initpri1_LDADD =
 check_PROGRAMS += initpri2
 initpri2_SOURCES = initpri2.c
 initpri2_DEPENDENCIES = gcctestdir/ld
-initpri2_LDFLAGS = -Bgcctestdir/
+initpri2_LDFLAGS = -Bgcctestdir/ -Wl,--ctors-in-init-array
 initpri2_LDADD =
 
 check_PROGRAMS += initpri3a
index c5c1ae6cb3e83243cfbc8511176453f9531ea119..35a4310673ca5dfa9ae334d0543070039576d350 100644 (file)
@@ -2287,7 +2287,7 @@ LDADD = libgoldtest.a ../libgold.a ../../libiberty/libiberty.a $(LIBINTL) \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri1_LDADD = 
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_SOURCES = initpri2.c
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_DEPENDENCIES = gcctestdir/ld
-@GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_LDFLAGS = -Bgcctestdir/
+@GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_LDFLAGS = -Bgcctestdir/ -Wl,--ctors-in-init-array
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_LDADD = 
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri3a_SOURCES = initpri3.c
 @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri3a_DEPENDENCIES = gcctestdir/ld