This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] Disable script_test_12 for powerpc
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Cc: Cary Coutant <ccoutant at gmail dot com>, Ian Lance Taylor <iant at google dot com>
- Date: Tue, 28 Jun 2016 15:38:34 +0930
- Subject: [GOLD] Disable script_test_12 for powerpc
- Authentication-results: sourceware.org; auth=none
The linker script is way too x86-centric. Non-bss plt and 4k pages
result in the executable segfaulting before _start is executed.
OK to apply?
* testsuite/Makefile.am (script_test_12): Disable for powerpc.
(script_test_12i): Likewise.
* testsuite/Makefile.in: Regenerate.
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index 4ea5122..a8c788c 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -1848,6 +1848,7 @@ script_test_11a.o: script_test_11a.c
script_test_11b.o: script_test_11b.c
$(COMPILE) -c -g -o $@ $<
+if !DEFAULT_TARGET_POWERPC
# Test difference between "*(a b)" and "*(a) *(b)" in input section spec.
check_PROGRAMS += script_test_12
script_test_12: gcctestdir/ld $(srcdir)/script_test_12.t script_test_12a.o script_test_12b.o
@@ -1860,6 +1861,7 @@ script_test_12a.o: script_test_12a.c
$(COMPILE) -O0 -c -o $@ $<
script_test_12b.o: script_test_12b.c
$(COMPILE) -O0 -c -o $@ $<
+endif
# Test --dynamic-list, --dynamic-list-data, --dynamic-list-cpp-new,
# and --dynamic-list-cpp-typeinfo
--
Alan Modra
Australia Development Lab, IBM