summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc
diff options
context:
space:
mode:
authorFaraz Shahbazker <fshahbazker@wavecomp.com>2019-04-15 08:48:42 -0700
committerFaraz Shahbazker <fshahbazker@wavecomp.com>2019-04-15 08:48:42 -0700
commit86333705ae268aa00da41b094b0d632eae31e9ae (patch)
tree1d85ebefe8c3987a3e5aa20d7441aefed010c871 /ld/testsuite/ld-gc
parent48574d91bf1289074f2c88b1f83aa3cd37d524d9 (diff)
downloadbinutils-gdb-86333705ae268aa00da41b094b0d632eae31e9ae.tar.gz
Skip print-map-discarded test for non-ELF targets
ld/ * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF targets.
Diffstat (limited to 'ld/testsuite/ld-gc')
-rw-r--r--ld/testsuite/ld-gc/gc.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-gc/gc.exp b/ld/testsuite/ld-gc/gc.exp
index 13968cc7d1b..422c3c31209 100644
--- a/ld/testsuite/ld-gc/gc.exp
+++ b/ld/testsuite/ld-gc/gc.exp
@@ -172,4 +172,6 @@ if { [is_elf_format] && [check_shared_lib_support] \
run_dump_test "pr20306"
}
-run_dump_test "skip-map-discarded"
+if { [is_elf_format] } then {
+ run_dump_test "skip-map-discarded"
+}