]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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:42:36 +0000 (00:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 18 Jan 2014 00:42:36 +0000 (00:42 +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: r206744

gcc/ChangeLog
gcc/config/pa/pa.c

index 21fe4d7bb4838059483d29eb25d999f205c1a8ae..4c235bbe99e52b7c9c7d7ac92bf17248cf217ed6 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  Charles Baylis  <charles.baylis@linaro.org>
 
        Backport from mainline
index ae37d21a0bbe5f50b2bb463d17e6cea87136e278..ff706e6d634160cd05878945c77f46cfe0ab2481 100644 (file)
@@ -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;