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

From-SVN: r57570
This commit is contained in:
Kaveh R. Ghazi 2002-09-27 02:13:06 +00:00 committed by Kaveh Ghazi
parent 555b7a7234
commit 9f233c0328
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] } {