Message ID | 4E147532.4030502@gjlay.de |
---|---|
State | New |
Headers | show |
Georg-Johann Lay <avr@gjlay.de> writes: > Here is a revised patch. > > Ok? I'd like to defer to the target maintainers here: they know their port, while I don't. Rainer
2011/7/6 Rainer Orth <ro@cebitec.uni-bielefeld.de>: > Georg-Johann Lay <avr@gjlay.de> writes: > >> Here is a revised patch. >> >> Ok? > > I'd like to defer to the target maintainers here: they know their port, > while I don't. > Approved. Denis.
Index: lib/target-supports.exp =================================================================== --- lib/target-supports.exp (revision 175811) +++ lib/target-supports.exp (working copy) @@ -497,6 +497,11 @@ proc check_profiling_available { test_wh # Tree profiling requires TLS runtime support. if { $test_what == "-fprofile-generate" } { + # AVR does not support profile generation because + # it does not implement needed support functions. + if { [istarget avr-*-*] } { + return 0 + } return [check_effective_target_tls_runtime] }