OSDN Git Service

* lib/target-supports.exp (check_profiling_available): Return
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / target-supports.exp
index ab9953f..76b9ede 100644 (file)
@@ -293,6 +293,7 @@ proc check_profiling_available { test_what } {
             || [istarget cris-*-*]
             || [istarget h8300-*-*]
             || [istarget mips*-*-elf]
+            || [istarget xtensa-*-elf]
             || [istarget *-*-windiss] } {
            set profiling_available_saved 0
        } else {
@@ -883,10 +884,13 @@ proc check_effective_target_sync_int_long { } {
         verbose "check_effective_target_sync_int_long: using cached result" 2
     } else {
         set et_sync_int_long_saved 0
+# This is intentionally powerpc but not rs6000, rs6000 doesn't have the
+# load-reserved/store-conditional instructions.
         if { [istarget ia64-*-*]
             || [istarget i?86-*-*]
             || [istarget x86_64-*-*]
-            || [istarget alpha*-*-*] } {
+            || [istarget alpha*-*-*] 
+            || [istarget powerpc*-*-*] } {
            set et_sync_int_long_saved 1
         }
     }