pa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the function into a register.
* pa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the function into a register. From-SVN: r2486
This commit is contained in:
parent
ea727bbf20
commit
5cf2759eb4
@ -2333,6 +2333,10 @@
|
||||
""
|
||||
"
|
||||
{
|
||||
if (TARGET_LONG_CALLS)
|
||||
operands[0] = gen_rtx (MEM, SImode,
|
||||
force_reg (SImode, XEXP (operands[0], 0)));
|
||||
else
|
||||
operands[0] = gen_rtx (MEM, SImode, XEXP (operands[0], 0));
|
||||
}")
|
||||
|
||||
@ -2365,6 +2369,10 @@
|
||||
""
|
||||
"
|
||||
{
|
||||
if (TARGET_LONG_CALLS)
|
||||
operands[1] = gen_rtx (MEM, SImode,
|
||||
force_reg (SImode, XEXP (operands[1], 0)));
|
||||
else
|
||||
operands[1] = gen_rtx (MEM, SImode, XEXP (operands[1], 0));
|
||||
}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user