aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-02-16 19:37:34 +0000
committerCary Coutant <ccoutant@google.com>2012-02-16 19:37:34 +0000
commit7b5de7eeacf1f08bc31562510bab508ebcaae3ee (patch)
tree6ce5d0f7e648349bb5ae87c7b72679a7f7bf4831 /gold
parentddd60447d562534f4bfe3f9bd89b9943204861c7 (diff)
downloadgdb-7b5de7eeacf1f08bc31562510bab508ebcaae3ee.zip
gdb-7b5de7eeacf1f08bc31562510bab508ebcaae3ee.tar.gz
gdb-7b5de7eeacf1f08bc31562510bab508ebcaae3ee.tar.bz2
* testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/testsuite/Makefile.am2
-rw-r--r--gold/testsuite/Makefile.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index df83535..47ec2ec 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index c7209f3..f0f3e7b 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -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
diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in
index c5c1ae6..35a4310 100644
--- a/gold/testsuite/Makefile.in
+++ b/gold/testsuite/Makefile.in
@@ -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