From: John David Anglin Date: Sat, 18 Jan 2014 00:42:36 +0000 (+0000) Subject: pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when... X-Git-Tag: releases/gcc-4.7.4~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647f7878daa3f9a5cf19ab7fd8bd4fb5a8a92d2f;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21fe4d7bb483..4c235bbe99e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-17 John David Anglin + + * 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 Backport from mainline diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index ae37d21a0bbe..ff706e6d6341 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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;