aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-05-07 09:21:27 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-05-07 09:21:27 +0000
commit3a8260b2660859d82a0ccaa6e33aadf7150b0571 (patch)
tree45b0d0bfd96871c8060f66b5dd04b33453f92a09 /ld/testsuite/ld-elfvsb
parentd2bf1bdacb102b5dacee9ead4f76f1e8edaed54b (diff)
* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
compiling.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index 220e28251a..b53b96a4d0 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -21,9 +21,6 @@
# Make sure that ld can generate ELF shared libraries with visibility.
-# This test can only be run if ld generates native executables.
-if ![isnative] then {return}
-
# This test can only be run on a couple of ELF platforms.
# Square bracket expressions seem to confuse istarget.
if { ![istarget hppa*64*-*-hpux*] \
@@ -53,6 +50,9 @@ foreach t $test_list {
run_dump_test [file rootname $t]
}
+# The remaining tests can only be run if ld generates native executables.
+if ![isnative] then {return}
+
set tmpdir tmpdir
set SHCFLAG ""