From: Kaveh R. Ghazi Date: Fri, 27 Sep 2002 02:14:12 +0000 (+0000) Subject: * lib/target-supports.exp (check_weak_available): Handle solaris2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa4211cb739503d1ad376083ead0abc75cdf4831;p=gcc.git * lib/target-supports.exp (check_weak_available): Handle solaris2. From-SVN: r57571 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cc0a7e15719..733786564d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-09-26 Kaveh R. Ghazi + + * lib/target-supports.exp (check_weak_available): Handle solaris2. + 2002-09-27 Alan Modra * gcc.c-torture/execute/loop-15.c: New. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 86642567878..efcc941c220 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -36,6 +36,12 @@ proc check_weak_available { } { return 1 } + # All solaris2 targets should support it + + if { [regexp ".*-solaris2.*" $target_triplet] } { + return 1 + } + # DEC OSF/1/Digital UNIX/Tru64 UNIX supports it if { [regexp "alpha.*osf.*" $target_triplet] } {