mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 15:29:58 +08:00
Use @local for local calls under System V
From-SVN: r16765
This commit is contained in:
parent
034e84c4a5
commit
a226df4686
@ -1,5 +1,8 @@
|
||||
Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
|
||||
|
||||
* rs6000.md (call insns): For local calls, use @local suffix under
|
||||
System V. Don't use @plt under Solaris.
|
||||
|
||||
* rs6000.c (output_function_profiler): Put label address in r0, and
|
||||
store LR in 4(sp) for System V/eabi.
|
||||
|
||||
|
@ -7525,7 +7525,7 @@
|
||||
else if (INTVAL (operands[2]) & CALL_V4_CLEAR_FP_ARGS)
|
||||
output_asm_insn (\"creqv 6,6,6\", operands);
|
||||
|
||||
return \"bl %z0\";
|
||||
return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"bl %z0@local\" : \"bl %z0\";
|
||||
}"
|
||||
[(set_attr "type" "branch")
|
||||
(set_attr "length" "4,8")])
|
||||
@ -7580,7 +7580,7 @@
|
||||
else if (INTVAL (operands[2]) & CALL_V4_CLEAR_FP_ARGS)
|
||||
output_asm_insn (\"creqv 6,6,6\", operands);
|
||||
|
||||
return flag_pic ? \"bl %z0@plt\" : \"bl %z0\";
|
||||
return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"bl %z0@plt\" : \"bl %z0\";
|
||||
}"
|
||||
[(set_attr "type" "branch")
|
||||
(set_attr "length" "4,8")])
|
||||
@ -7600,7 +7600,7 @@
|
||||
else if (INTVAL (operands[3]) & CALL_V4_CLEAR_FP_ARGS)
|
||||
output_asm_insn (\"creqv 6,6,6\", operands);
|
||||
|
||||
return \"bl %z1\";
|
||||
return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"bl %z1@local\" : \"bl %z1\";
|
||||
}"
|
||||
[(set_attr "type" "branch")
|
||||
(set_attr "length" "4,8")])
|
||||
@ -7650,7 +7650,7 @@
|
||||
else if (INTVAL (operands[3]) & CALL_V4_CLEAR_FP_ARGS)
|
||||
output_asm_insn (\"creqv 6,6,6\", operands);
|
||||
|
||||
return flag_pic ? \"bl %z1@plt\" : \"bl %z1\";
|
||||
return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"bl %z1@plt\" : \"bl %z1\";
|
||||
}"
|
||||
[(set_attr "type" "branch")
|
||||
(set_attr "length" "4,8")])
|
||||
|
Loading…
Reference in New Issue
Block a user