pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when TARGET_LONG_CALLS is true.

* config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
	call to $$dyncall when TARGET_LONG_CALLS is true.

From-SVN: r206744
This commit is contained in:
John David Anglin 2014-01-18 00:42:36 +00:00
parent b61d8af7eb
commit 647f7878da
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-17 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
call to $$dyncall when TARGET_LONG_CALLS is true.
2014-01-17 Charles Baylis <charles.baylis@linaro.org>
Backport from mainline

View File

@ -8040,7 +8040,8 @@ pa_attr_length_indirect_call (rtx insn)
return 12;
if (TARGET_FAST_INDIRECT_CALLS
|| (!TARGET_PORTABLE_RUNTIME
|| (!TARGET_LONG_CALLS
&& !TARGET_PORTABLE_RUNTIME
&& ((TARGET_PA_20 && !TARGET_SOM && distance < 7600000)
|| distance < MAX_PCREL17F_OFFSET)))
return 8;