From df32c0b335a41c8ca522433d6df04c647cc6d495 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 7 Jun 2016 01:56:01 +0000 Subject: [PATCH] pa.md (call): Generate indirect long calls to non-local functions on TARGET_64BIT. * config/pa/pa.md (call): Generate indirect long calls to non-local functions on TARGET_64BIT. (call_value): Likewise. From-SVN: r237164 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a312649e1d..edc45f5f8e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-06-06 John David Anglin + + * 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 * config/pa/pa.md (call_val_reg_64bit): Remove "reg: DI " clobber from diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 4e714cd71c3..493b764ee69 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -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))) -- 2.30.2