aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-10 12:48:52 +0000
committerAlan Modra <amodra@gmail.com>2002-08-10 12:48:52 +0000
commit2548cbcc14abe396cdb4aa2258d075d0bee86c74 (patch)
treed016d63d9430e9fac930010c29ef641c43a586d0 /ld/testsuite/ld-discard
parentb063e7a269b0493ce192d76a85c41fe16210dcd4 (diff)
downloadgdb-2548cbcc14abe396cdb4aa2258d075d0bee86c74.zip
gdb-2548cbcc14abe396cdb4aa2258d075d0bee86c74.tar.gz
gdb-2548cbcc14abe396cdb4aa2258d075d0bee86c74.tar.bz2
* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
* ld-linkonce/linkonce.exp: Likewise. * ld-selective/sel-dump.exp: Likewise. * ld-selective/selective.exp: Don't run on aout or bout.
Diffstat (limited to 'ld/testsuite/ld-discard')
-rw-r--r--ld/testsuite/ld-discard/discard.exp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp
index 6aa9560..4a62983 100644
--- a/ld/testsuite/ld-discard/discard.exp
+++ b/ld/testsuite/ld-discard/discard.exp
@@ -1,5 +1,5 @@
# Expect script for ld discard tests
-# Copyright 2001 Free Software Foundation, Inc.
+# Copyright 2001, 2002 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,6 +29,11 @@ if { ![istarget *-*-linux*] \
return
}
+if { [istarget *-*-linux*aout*] \
+ || [istarget *-*-linux*oldld*] } {
+ return
+}
+
load_lib ld-lib.exp
set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]