From 3a8260b2660859d82a0ccaa6e33aadf7150b0571 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 7 May 2003 09:21:27 +0000 Subject: [PATCH] * ld-elfvsb/elfvsb.exp: Run dump tests even when cross compiling. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvsb/elfvsb.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d9df8f4ebba..b78599f1f34 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-05-07 Andreas Schwab + + * ld-elfvsb/elfvsb.exp: Run dump tests even when cross + compiling. + 2003-05-06 Alexandre Oliva * 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 220e28251a5..b53b96a4d04 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 "" -- 2.30.2