From: David Billinghurst Date: Tue, 12 May 2009 08:34:46 +0000 (+0000) Subject: target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7a0af68063c79655c561750e9863799bf846cae;p=gcc.git target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin* targets. 2009-05-12 David Billinghurst * lib/target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin* targets. From-SVN: r147421 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b6b0949c3de..fc377f7cefb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-05-12 David Billinghurst + + * lib/target-supports.exp (check_profiling_available): Return + false for -p on *-*-cygwin* targets. + 2009-05-11 H.J. Lu PR tree-optimization/38632 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 92bde7886a9..56f7877dd18 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -466,6 +466,11 @@ proc check_profiling_available { test_what } { return 0 } + # cygwin does not support -p. + if { [istarget *-*-cygwin*] && [lindex $test_what 1] == "-p" } { + return 0 + } + # uClibc does not have gcrt1.o. if { [check_effective_target_uclibc] && ([lindex $test_what 1] == "-p"