diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/lib/g++.exp | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/gfortran.exp | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/objc.exp | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/treelang.exp | 2 |
6 files changed, 14 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cd404d1..f6de047 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr> + + PR other/18138 + * lib/g++.exp: Accept more than one multilib libgcc. + * lib/gcc-dg.exp: Likewise. + * lib/objc.exp: Likewise. + * lib/treelang.exp: Likewise. + * lib/gfortran.exp: Likewise. + 2004-10-24 Ben Elliston <bje@au.ibm.com> * gcc.dg/c90-const-expr-3.c: Reference the ISO C standard. diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp index b863785..22fb5d7 100644 --- a/gcc/testsuite/lib/g++.exp +++ b/gcc/testsuite/lib/g++.exp @@ -138,7 +138,7 @@ proc g++_link_flags { paths } { if { "$mldir" == "." } { continue } - if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } { + if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } { append ld_library_path ":${rootme}/${mldir}" } } diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index ca2812d..be9169d 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -57,7 +57,7 @@ if { [is_remote host] == 0 && [which $compiler] != 0 } { if { "$mldir" == "." } { continue } - if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } { + if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } { append libgcc_s_path ":${rootme}/${mldir}" } } diff --git a/gcc/testsuite/lib/gfortran.exp b/gcc/testsuite/lib/gfortran.exp index 07787cc..805b619 100644 --- a/gcc/testsuite/lib/gfortran.exp +++ b/gcc/testsuite/lib/gfortran.exp @@ -103,7 +103,7 @@ proc gfortran_link_flags { paths } { if { "$mldir" == "." } { continue } - if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } { + if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } { append ld_library_path ":${rootme}/${mldir}" } } diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp index d75cf1a..e4d10e0 100644 --- a/gcc/testsuite/lib/objc.exp +++ b/gcc/testsuite/lib/objc.exp @@ -120,7 +120,7 @@ proc objc_init { args } { if { "$mldir" == "." } { continue } - if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } { + if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } { append objc_libgcc_s_path ":${rootme}/${mldir}" } } diff --git a/gcc/testsuite/lib/treelang.exp b/gcc/testsuite/lib/treelang.exp index 94bb8a0..57ea992 100644 --- a/gcc/testsuite/lib/treelang.exp +++ b/gcc/testsuite/lib/treelang.exp @@ -117,7 +117,7 @@ proc treelang_init { args } { if { "$mldir" == "." } { continue } - if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } { + if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } { append treelang_libgcc_s_path ":${rootme}/${mldir}" } } |