aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/reloc-discard.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-07-23 12:31:18 +0930
committerAlan Modra <amodra@gmail.com>2018-07-23 13:06:33 +0930
commit49ddb0fbdad2bdf5ff4fcbcf50470f16c0f1f34a (patch)
tree73c6854f88fedbcd38eacc5ff81b19c2c4492f28 /ld/testsuite/ld-elf/reloc-discard.d
parentbb71536f2841449252952ac4f759c1e0eca7e137 (diff)
downloadgdb-49ddb0fbdad2bdf5ff4fcbcf50470f16c0f1f34a.zip
gdb-49ddb0fbdad2bdf5ff4fcbcf50470f16c0f1f34a.tar.gz
gdb-49ddb0fbdad2bdf5ff4fcbcf50470f16c0f1f34a.tar.bz2
PowerPC64 fails reloc-discard test
PowerPC64 fails here due to emitting a warning about discarded dynamic relocations. That's a good thing, since accidentally discarding dynamic relocations will likely result in a non-working binary. * testsuite/ld-elf/reloc-discard-warn.d: New. * testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64.
Diffstat (limited to 'ld/testsuite/ld-elf/reloc-discard.d')
-rw-r--r--ld/testsuite/ld-elf/reloc-discard.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/reloc-discard.d b/ld/testsuite/ld-elf/reloc-discard.d
index b8aad88..dd2c99b 100644
--- a/ld/testsuite/ld-elf/reloc-discard.d
+++ b/ld/testsuite/ld-elf/reloc-discard.d
@@ -2,9 +2,12 @@
#ld: -shared -T reloc-discard.ld
#readelf: -r --use-dynamic
#target: [check_shared_lib_support]
+#skip: powerpc64*-*-*
#source: reloc-discard.s
#xfail: nds32*-*-* tic6x-*-*
# Need to figure out how to pass `-fpic' for NDS32 or `-mpic -mpid=near'
# for TI C6X targets to GAS for this test.
+# PowerPC64 warns when discarding dynamic relocs, which is generally
+# a good thing. See reloc-discard-warn.d test variant.
There are no dynamic relocations in this file\.