diff options
author | Alan Modra <amodra@gmail.com> | 2016-06-29 07:59:34 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-06-29 08:36:53 +0930 |
commit | 38ac44ac99b59a97e72502716e056ad60a433501 (patch) | |
tree | 15b3425dcdc23d9f9fe8749f1b88296749063264 /gold/testsuite/Makefile.am | |
parent | 59ae9ffe142b9e39b728fa43282025e239a7614f (diff) | |
download | gdb-38ac44ac99b59a97e72502716e056ad60a433501.zip gdb-38ac44ac99b59a97e72502716e056ad60a433501.tar.gz gdb-38ac44ac99b59a97e72502716e056ad60a433501.tar.bz2 |
[GOLD] Disable copy_test_protected on powerpc
A target like powerpc64 that is PIC by default doesn't need copy relocs.
* testsuite/Makefile.am (copy_test_protected): Disable for powerpc.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 3b0dcc6..05ffd7e 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -848,6 +848,7 @@ copy_test_2_pic.o: copy_test_2.cc copy_test_2.so: gcctestdir/ld copy_test_2_pic.o $(CXXLINK) -Bgcctestdir/ -shared copy_test_2_pic.o +if !DEFAULT_TARGET_POWERPC check_SCRIPTS += copy_test_protected.sh check_DATA += copy_test_protected.err MOSTLYCLEANFILES += copy_test_protected.err @@ -859,6 +860,7 @@ copy_test_protected.err: copy_test_protected.o copy_test_2.so gcctestdir/ld rm -f $@; \ exit 1; \ fi +endif if TLS |