This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Run some elfvsb tests in cross mode
- From: Andreas Schwab <schwab at suse dot de>
- To: binutils at sources dot redhat dot com
- Date: 07 May 2003 00:07:42 +0200
- Subject: Run some elfvsb tests in cross mode
The dump tests in elfvsb.exp do not depend on native executables, so
they can be run even when cross compiling.
Andreas.
2003-05-07 Andreas Schwab <schwab@suse.de>
* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
compiling.
--- ld/testsuite/ld-elfvsb/elfvsb.exp.~1.16.~ 2003-04-29 00:16:59.000000000 +0200
+++ ld/testsuite/ld-elfvsb/elfvsb.exp 2003-05-07 00:03:36.000000000 +0200
@@ -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 ""