This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GOLD] Disable script_test_12 for powerpc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]