diff options
Diffstat (limited to 'ld/testsuite/config/default.exp')
-rw-r--r-- | ld/testsuite/config/default.exp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 66721ff..1c12ce6 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -185,10 +185,13 @@ if {[istarget mips64*-*-linux*] && } if { [istarget rx-*-*] } { - global ASFLAGS set ASFLAGS "-muse-conventional-section-names" } +if { [istarget ia64-*-*] } { + set ASFLAGS "-x" +} + # Blackfin ELF targets require selection of an explicit CPU. Use the sim. if {[istarget bfin*-elf*]} { append gcc_B_opt " -msim" @@ -538,10 +541,11 @@ if { [check_compiler_available] } { } } -if {[file exists .libs/libdep.so]} { - set dep_plug_opt "--plugin .libs/libdep.so" -} elseif {[file exists .libs/libdep.dll]} { - set dep_plug_opt "--plugin .libs/libdep.dll" -} else { - set dep_plug_opt "" +set dep_plug_opt "" +if [check_plugin_api_available] { + if {[file exists .libs/libdep.so]} { + set dep_plug_opt "--plugin .libs/libdep.so" + } elseif {[file exists .libs/libdep.dll]} { + set dep_plug_opt "--plugin .libs/libdep.dll" + } } |