aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2014-01-18 00:35:08 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2014-01-18 00:35:08 +0000
commitfa7d0c609dff310247284cf531c4b94c6d234e69 (patch)
tree275c0e9ddd5de36cb4051d631f18300b2310adf4 /gcc/config/pa/pa.c
parent2d1fee3d78457332914ab7f9c15ee2c0dd6e71d0 (diff)
downloadgcc-fa7d0c609dff310247284cf531c4b94c6d234e69.zip
gcc-fa7d0c609dff310247284cf531c4b94c6d234e69.tar.gz
gcc-fa7d0c609dff310247284cf531c4b94c6d234e69.tar.bz2
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: r206742
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index c3755bf..e137220 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -8099,7 +8099,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;