Fix no_trampolines test in check_effective_target_trampolines

2017-06-08  Tom de Vries  <tom@codesourcery.com>

	* lib/target-supports.exp (check_effective_target_trampolines): Test for
	'gcc,no_trampolines' instead of 'no_trampolines'.

From-SVN: r249026
This commit is contained in:
Tom de Vries 2017-06-08 17:15:56 +00:00 committed by Tom de Vries
parent 5591f0dd96
commit b9835925b1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-06-08 Tom de Vries <tom@codesourcery.com>
* lib/target-supports.exp (check_effective_target_trampolines): Test for
'gcc,no_trampolines' instead of 'no_trampolines'.
2017-06-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
PR middle-end/79988

View File

@ -491,7 +491,7 @@ proc check_gc_sections_available { } {
# target is supposed to support trampolines.
proc check_effective_target_trampolines { } {
if [target_info exists no_trampolines] {
if [target_info exists gcc,no_trampolines] {
return 0
}
if { [istarget avr-*-*]