aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/elf.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-07-25 12:06:52 +0930
committerAlan Modra <amodra@gmail.com>2016-10-07 10:52:13 +1030
commitb62b1f7143c70caf5a14bd9684bbe50f51db706f (patch)
treefb61e721ca7c1753dd52724dc1f3ff272077e9c5 /ld/testsuite/ld-elf/elf.exp
parentfa549b9484c9ce54fd7528bbf8db5e4b0a94510a (diff)
downloadgdb-b62b1f7143c70caf5a14bd9684bbe50f51db706f.zip
gdb-b62b1f7143c70caf5a14bd9684bbe50f51db706f.tar.gz
gdb-b62b1f7143c70caf5a14bd9684bbe50f51db706f.tar.bz2
Add is_generic_elf to ld/ld-lib.exp
* testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from.. * testsuite/ld-elf/elf.exp: ..here.
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r--ld/testsuite/ld-elf/elf.exp14
1 files changed, 1 insertions, 13 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 872e7f1..59284bd 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -139,19 +139,7 @@ foreach t $test_list {
# Targets using the generic linker backend don't support generating
# an import library.
set xfail_implib ""
-if { [istarget "d30v-*-*"]
- || [istarget "dlx-*-*"]
- || [istarget "fr30-*-*"]
- || ([istarget "frv-*-*"] && ![istarget "frv-*-linux*"])
- || [istarget "ft32-*-*"]
- || [istarget "i860-*-*"]
- || [istarget "i960-*-*"]
- || [istarget "iq2000-*-*"]
- || [istarget "mn10200-*-*"]
- || [istarget "moxie-*-*"]
- || [istarget "msp430-*-*"]
- || [istarget "mt-*-*"]
- || [istarget "pj*-*-*"] } {
+if [is_generic_elf] {
set xfail_implib "*-*-*"
}