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: r147422
This commit is contained in:
David Billinghurst 2009-05-12 08:41:28 +00:00
parent ad9b97a093
commit 67a380b7d5
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>
Backport from mainline:

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"