From: Kaveh R. Ghazi Date: Fri, 27 Sep 2002 02:13:06 +0000 (+0000) Subject: * lib/target-supports.exp (check_weak_available): Handle solaris2. X-Git-Tag: releases/gcc-3.2.1~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f233c0328b24606a1c53736952305c3cc667b07;p=thirdparty%2Fgcc.git * lib/target-supports.exp (check_weak_available): Handle solaris2. From-SVN: r57570 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6bc003b7d1fd..7d13b859dbff 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 866425678780..efcc941c2203 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] } {