From 647f7878daa3f9a5cf19ab7fd8bd4fb5a8a92d2f Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 18 Jan 2014 00:42:36 +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: r206744 --- 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 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; -- 2.47.2