aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
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 ""