* lib/target-supports.exp (check_weak_available): Handle solaris2.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)
From-SVN: r57571

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

index cc0a7e1571919a0860b1b18e0f815a8d1a9ed7f0..733786564d93a7352da934e6c118ac23e2e44010 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] } {