From fa7d0c609dff310247284cf531c4b94c6d234e69 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 18 Jan 2014 00:35:08 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fabe4086a00..9e2e18f540e 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 Jeff Law * ree.c (combine_set_extension): Temporarily disable test for diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index c3755bfa912..e137220a890 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; -- 2.30.2