* lib/target-supports.exp (check_weak_available): Handle solaris2.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57571 138bc75d-0d04-0410-961f-82ee72b054a4

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

index cc0a7e1..7337865 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 8664256..efcc941 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] } {