target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin* targets.

2009-05-12  David Billinghurst <billingd@gcc.gnu.org>

    * lib/target-supports.exp (check_profiling_available): Return
    false for -p on *-*-cygwin* targets.

From-SVN: r147421
This commit is contained in:
David Billinghurst 2009-05-12 08:34:46 +00:00
parent 1667049585
commit b7a0af6806
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-05-12 David Billinghurst <billingd@gcc.gnu.org>
* lib/target-supports.exp (check_profiling_available): Return
false for -p on *-*-cygwin* targets.
2009-05-11 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/38632

View File

@ -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"