Commit 6a5e6663 by Joseph Myers Committed by Joseph Myers

target-supports.exp (check_profiling_available): Report -p unavailable on *-*-mingw*.

	* lib/target-supports.exp (check_profiling_available): Report -p
	unavailable on *-*-mingw*.

From-SVN: r132651
parent eb587f4f
2008-02-25 Joseph Myers <joseph@codesourcery.com>
* lib/target-supports.exp (check_profiling_available): Report -p
unavailable on *-*-mingw*.
2008-02-25 Joseph Myers <joseph@codesourcery.com>
* lib/target-supports.exp (check_effective_target_pthread_h): New.
* gcc.dg/pthread-init-1.c, gcc.dg/pthread-init-2.c: Use
dg-require-effective-target pthread_h.
......@@ -410,6 +410,11 @@ proc check_profiling_available { test_what } {
return 0
}
# MinGW does not support -p.
if { [istarget *-*-mingw*] && [lindex $test_what 1] == "-p" } {
return 0
}
# At present, there is no profiling support on NetWare.
if { [istarget *-*-netware*] } {
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment