aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1994-11-20 22:59:27 -0700
committerJeff Law <law@gcc.gnu.org>1994-11-20 22:59:27 -0700
commitf215b2f779fa1892a86ae7baf3001251beccc303 (patch)
treed34bc08f2a0e3bd7a6476e3eb8c0fe6222ae204a /gcc/config/pa/pa.c
parente172179db3361d81426aded6a6c66d324644b745 (diff)
downloadgcc-f215b2f779fa1892a86ae7baf3001251beccc303.zip
gcc-f215b2f779fa1892a86ae7baf3001251beccc303.tar.gz
gcc-f215b2f779fa1892a86ae7baf3001251beccc303.tar.bz2
pa.c (output_call): When emitting an inline long-call...
* pa.c (output_call): When emitting an inline long-call, use LP% and RP% prefixes to get the function's address. From-SVN: r8533
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index d70dad6..f18451d 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -3941,7 +3941,8 @@ output_call (insn, call_dest, return_pointer)
/* Now emit the inline long-call. */
xoperands[0] = call_dest;
- output_asm_insn ("ldil L%%%0,%%r22\n\tldo R%%%0(%%r22),%%r22", xoperands);
+ output_asm_insn ("ldil LP%%%0,%%r22\n\tldo RP%%%0(%%r22),%%r22",
+ xoperands);
/* If TARGET_MILLICODE_LONG_CALLS, then we must use a long-call sequence
to call dyncall! */