aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
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
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')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-i386/i386.exp5
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index fc82ea0..6f3ef89 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-20 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-i386/i386.exp: Only run tests on ELF targets.
+
2002-09-19 Jakub Jelinek <jakub@redhat.com>
* ld-i386/i386.exp: New.
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
}