aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-09-20 07:57:08 +0000
committerAlan Modra <amodra@gmail.com>2002-09-20 07:57:08 +0000
commitc7749bd6ecebecdfe24942bc12ff82795a6247db (patch)
tree76bd77119e8cf88942583df71cfd640dd9b14c21 /ld/testsuite/ld-i386
parent759365550adde37c0e94b0109b128e41bc65418d (diff)
downloadgdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.zip
gdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.tar.gz
gdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.tar.bz2
* ld-i386/i386.exp: Only run tests on ELF targets.
Diffstat (limited to 'ld/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/i386.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp
index 4072dd5..09526f8 100644
--- a/ld/testsuite/ld-i386/i386.exp
+++ b/ld/testsuite/ld-i386/i386.exp
@@ -19,7 +19,10 @@
# Test i386 linking; all types of relocs. This tests the assembler and
# tools like objdump as well as the linker.
-if ![istarget i?86-*-*] {
+if { !([istarget "i?86-*-elf*"]
+ || ([istarget "i?86-*-linux*"]
+ && ![istarget "*-*-*aout*"]
+ && ![istarget "*-*-*oldld*"])) } {
return
}