OSDN Git Service

* config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jan 2014 00:42:36 +0000 (00:42 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jan 2014 00:42:36 +0000 (00:42 +0000)
call to $$dyncall when TARGET_LONG_CALLS is true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@206744 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 21fe4d7..4c235bb 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 ae37d21..ff706e6 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;