]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.md (call): Generate indirect long calls to non-local functions on TARGET_64BIT.
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 7 Jun 2016 01:56:01 +0000 (01:56 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 7 Jun 2016 01:56:01 +0000 (01:56 +0000)
* config/pa/pa.md (call): Generate indirect long calls to non-local
functions on TARGET_64BIT.
(call_value): Likewise.

From-SVN: r237164

gcc/ChangeLog
gcc/config/pa/pa.md

index 2a312649e1d68cb31aa87737b33b2bf398ae2776..edc45f5f8e9e9ee6a5b1f4da310cffc1deb5b935 100644 (file)
@@ -1,3 +1,9 @@
+2016-06-06  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.md (call): Generate indirect long calls to non-local
+       functions on TARGET_64BIT.
+       (call_value): Likewise.
+
 2016-06-06  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/pa.md (call_val_reg_64bit): Remove "reg: DI " clobber from
index 4e714cd71c31692792bdb12813eeaaaa57936496..493b764ee69c9e79bb5f2c18f22f3a109caa306a 100644 (file)
@@ -7014,7 +7014,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
       op = XEXP (operands[0], 0);
 
       /* Generate indirect long calls to non-local functions. */
-      if (!TARGET_64BIT && TARGET_LONG_CALLS && GET_CODE (op) == SYMBOL_REF)
+      if (TARGET_LONG_CALLS && GET_CODE (op) == SYMBOL_REF)
        {
          tree call_decl = SYMBOL_REF_DECL (op);
          if (!(call_decl && targetm.binds_local_p (call_decl)))
@@ -7517,7 +7517,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
            call_powf = true;
 
          /* Generate indirect long calls to non-local functions. */
-         else if (!TARGET_64BIT && TARGET_LONG_CALLS)
+         else if (TARGET_LONG_CALLS)
            {
              tree call_decl = SYMBOL_REF_DECL (op);
              if (!(call_decl && targetm.binds_local_p (call_decl)))