aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/Makefile.am
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2012-03-17 01:33:19 +0000
committerDoug Kwan <dougkwan@google.com>2012-03-17 01:33:19 +0000
commit7c6109da4af4ecd994e5ff09c2edc28e98cb228b (patch)
tree730f514f05995a3e4c8c8162682ee4fa96aabf68 /gold/testsuite/Makefile.am
parentfabe9782647119ac9d52a6a702cbdf3983ee0176 (diff)
downloadgdb-7c6109da4af4ecd994e5ff09c2edc28e98cb228b.zip
gdb-7c6109da4af4ecd994e5ff09c2edc28e98cb228b.tar.gz
gdb-7c6109da4af4ecd994e5ff09c2edc28e98cb228b.tar.bz2
2012-03-16 Doug Kwan <dougkwan@google.com>
* testsuite/Makefile.am: Disable test initpri3b. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r--gold/testsuite/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index f0f3e7b..a14dd3e 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -873,11 +873,16 @@ initpri3a_DEPENDENCIES = gcctestdir/ld
initpri3a_LDFLAGS = -Bgcctestdir/
initpri3a_LDADD =
-check_PROGRAMS += initpri3b
-initpri3b_SOURCES = initpri3.c
-initpri3b_DEPENDENCIES = gcctestdir/ld
-initpri3b_LDFLAGS = -Bgcctestdir/ -Wl,--no-ctors-in-init-array
-initpri3b_LDADD =
+# This test fails on targets not using .ctors and .dtors sections (e.g. ARM
+# EABI). Given that gcc is moving towards using .init_array in all cases,
+# this test is commented out. A better fix would be checking whether gcc
+# uses .ctors or .init_array sections in configure.
+
+# check_PROGRAMS += initpri3b
+# initpri3b_SOURCES = initpri3.c
+# initpri3b_DEPENDENCIES = gcctestdir/ld
+# initpri3b_LDFLAGS = -Bgcctestdir/ -Wl,--no-ctors-in-init-array
+# initpri3b_LDADD =
# Test --detect-odr-violations
check_SCRIPTS += debug_msg.sh