* lib/target-supports.exp (check_weak_available): Handle solaris2.

From-SVN: r57571
This commit is contained in:
Kaveh R. Ghazi 2002-09-27 02:14:12 +00:00 committed by Kaveh Ghazi
parent c2310f5124
commit fa4211cb73
2 changed files with 10 additions and 0 deletions

View 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.

View 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] } {