OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / target-supports.exp
index 2e91a16..78ceb54 100644 (file)
@@ -131,7 +131,7 @@ proc check_visibility_available { what_kind } {
     global target_triplet
 
     # On NetWare, support makes no sense.
     global target_triplet
 
     # On NetWare, support makes no sense.
-    if { [string match "*-*-netware*" $target_triplet] } {
+    if { [istarget *-*-netware*] } {
         return 0
     }
 
         return 0
     }
 
@@ -279,6 +279,11 @@ proc check_profiling_available { test_what } {
        return 0
     }
 
        return 0
     }
 
+    # At present, there is no profiling support on NetWare.
+    if { [istarget *-*-netware*] } {
+       return 0
+    }
+
     # Now examine the cache variable.
     if {![info exists profiling_available_saved]} {
        # Some targets don't have any implementation of __bb_init_func or are
     # Now examine the cache variable.
     if {![info exists profiling_available_saved]} {
        # Some targets don't have any implementation of __bb_init_func or are