Commit 726a04b4 by Jeff Law

pa.c (call_operand_address): Only allow registers if TARGET_LONG_CALLS.

        * pa.c (call_operand_address): Only allow registers if
        TARGET_LONG_CALLS.

From-SVN: r2488
parent 6efdeb47
...@@ -66,7 +66,8 @@ call_operand_address (op, mode) ...@@ -66,7 +66,8 @@ call_operand_address (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode;
{ {
return (REG_P (op) || CONSTANT_P (op)); return (REG_P (op)
|| (CONSTANT_P (op) && ! TARGET_LONG_CALLS));
} }
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment