target-supports.exp (check_profiling_available): Return 0 for uClibc with -p or -pg.
2007-04-17 Joseph Myers <joseph@codesourcery.com> Richard Sandiford <richard@codesourcery.com> * lib/target-supports.exp (check_profiling_available): Return 0 for uClibc with -p or -pg. Co-Authored-By: Richard Sandiford <richard@codesourcery.com> From-SVN: r123938
This commit is contained in:
parent
f5df0dc4bd
commit
50f324bbbe
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-04-17 Joseph Myers <joseph@codesourcery.com>
|
||||
Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_profiling_available): Return 0
|
||||
for uClibc with -p or -pg.
|
||||
|
||||
2007-04-17 Simon Martin <simartin@users.sourceforge.net>
|
||||
|
||||
PR c++/31517
|
||||
|
|
|
@ -348,6 +348,13 @@ proc check_profiling_available { test_what } {
|
|||
return 0
|
||||
}
|
||||
|
||||
# uClibc does not have gcrt1.o.
|
||||
if { [check_effective_target_uclibc]
|
||||
&& ([lindex $test_what 1] == "-p"
|
||||
|| [lindex $test_what 1] == "-pg") } {
|
||||
return 0
|
||||
}
|
||||
|
||||
# Now examine the cache variable.
|
||||
if {![info exists profiling_available_saved]} {
|
||||
# Some targets don't have any implementation of __bb_init_func or are
|
||||
|
|
Loading…
Add table
Reference in a new issue