pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 18 Jan 2014 00:35:08 +0000 (00:35 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 18 Jan 2014 00:35:08 +0000 (00:35 +0000)
* 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
gcc/config/pa/pa.c

index fabe4086a000a3e74990224c73c209a3dcaab2c9..9e2e18f540e55cf8cd3c5659114476cf0896daf6 100644 (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  Jeff Law  <law@redhat.com>
 
        * ree.c (combine_set_extension): Temporarily disable test for
index c3755bfa91221d8f09f613c6b7332b16d99f58e7..e137220a89049b4a1ad0980498dffbc69d9dd264 100644 (file)
@@ -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;