* arm.c (use_return_insn): New argument, SIBLING. Support returning
commitffc9d00c79adc92bd0ba09228f3855d485174fdb
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 11:44:19 +0000 (20 11:44 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 11:44:19 +0000 (20 11:44 +0000)
tree029156bebba710b4f4a4a918b838c987c8d482ca
parent49b2a510df510287cb6024163aae2e7d722cc103
* arm.c (use_return_insn): New argument, SIBLING.  Support returning
with a single instruction if the stack has been decremented by 4
and we have a frame pointer.  Update all callers.
(output_return_instruction): Likewise.
(arm_output_epilogue): Change argument to SIBLING.  Calculate
really_return from the new argument.  Update all callers.
* arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
* arm.md (sibcall_epilogue): Call use_return_insn directly, and
pass the sibling call.
* arm-protos.h (use_return_insn, arm_output_epilogue): Update
prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73761 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md