aboutsummaryrefslogtreecommitdiff
path: root/ld
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
parentd2bf1bdacb102b5dacee9ead4f76f1e8edaed54b (diff)
downloadgdb-3a8260b2660859d82a0ccaa6e33aadf7150b0571.zip
gdb-3a8260b2660859d82a0ccaa6e33aadf7150b0571.tar.gz
gdb-3a8260b2660859d82a0ccaa6e33aadf7150b0571.tar.bz2
* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
compiling.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d9df8f4..b78599f 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-07 Andreas Schwab <schwab@suse.de>
+
+ * ld-elfvsb/elfvsb.exp: Run dump tests even when cross
+ compiling.
+
2003-05-06 Alexandre Oliva <aoliva@redhat.com>
* config/default.exp (gcc_gas_flags): Force ABI to n32 on
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index 220e282..b53b96a 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 ""