summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-27 02:14:12 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-27 02:14:12 +0000
commitebee689c43b4f0acf2160c1ce630cee00ed69cca (patch)
treed9fa50798a8ea350c58122a073047af217150156 /gcc/testsuite/lib
parenta35ad173284e5bf81ab2b96cfac54de9c6112eed (diff)
downloadgcc-ebee689c43b4f0acf2160c1ce630cee00ed69cca.tar.gz
* lib/target-supports.exp (check_weak_available): Handle solaris2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/target-supports.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 86642567878..efcc941c220 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -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] } {