diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-04-18 00:55:07 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-04-18 00:55:07 +0100 |
commit | 50f324bbbe50f8690fa4ad1eb7d0b206d8608f27 (patch) | |
tree | 248332e6fc6ec9597ea2db59449f45751253c81b | |
parent | f5df0dc4bd6e7f053db6eaa5dc46f5019eb82920 (diff) | |
download | gcc-50f324bbbe50f8690fa4ad1eb7d0b206d8608f27.zip gcc-50f324bbbe50f8690fa4ad1eb7d0b206d8608f27.tar.gz gcc-50f324bbbe50f8690fa4ad1eb7d0b206d8608f27.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b7ca56f..a1625ef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index c630966..640a07b 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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 |