]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* lib/target-supports.exp (check_weak_available): Handle solaris2.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 27 Sep 2002 02:13:06 +0000 (02:13 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 27 Sep 2002 02:13:06 +0000 (02:13 +0000)
From-SVN: r57570

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 6bc003b7d1fd01038f5d2dd2a17e756116628c29..7d13b859dbffe26f9f129f9b020ae22aa8a8f223 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * lib/target-supports.exp (check_weak_available): Handle solaris2.
+
 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
 
        * gcc.c-torture/execute/loop-15.c: New.
index 8664256787809aaaed702bc659036150b09280f8..efcc941c22032e9682caa2d54d5315f0001741c7 100644 (file)
@@ -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] } {