aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-07-12 20:01:44 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-07-12 20:01:44 +0100
commitf880fcab1ae7713037ec85a56268f853fe6ca835 (patch)
treefecc7625af5dc1a2244aab80ef2013f302b603a7 /ld/testsuite/ld-mips-elf
parent64b5847236593f23564bd37afb0ea503f751165c (diff)
downloadgdb-f880fcab1ae7713037ec85a56268f853fe6ca835.zip
gdb-f880fcab1ae7713037ec85a56268f853fe6ca835.tar.gz
gdb-f880fcab1ae7713037ec85a56268f853fe6ca835.tar.bz2
MIPS/LD/testsuite: Limit reloc 6 tests to DSO targets
Complement commit 500c05ddbe98 ("MIPS/ld/testsuite: Limit export class call reloc tests to DSO targets") and also check for target's shared library support in determining whether to run reloc 6 tests, which require it. No changes in results as all targets currently enabled for NewABI testing support shared libraries. ld/ * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to shared library targets.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index ba3f161..64d71c61 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -625,7 +625,7 @@ if {$has_newabi} {
}
run_dump_test "reloc-4"
run_dump_test "reloc-5"
-if { $has_newabi } {
+if { $has_newabi && [check_shared_lib_support] } {
run_ld_link_tests [list \
[list \
"reloc test 6a" \