arm.c (use_return_insn): Use offsets->saved_regs_mask instead of {arm,thumb}_compute_...
authorPaul Brook <paul@codesourcery.com>
Wed, 12 Mar 2008 18:58:47 +0000 (18:58 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 12 Mar 2008 18:58:47 +0000 (18:58 +0000)
commit954954d139a52ed7a9a305d5ac09bb3323b67a95
tree20a1d9ac4838d1af36e10aa10f3bf9071e8fd931
parent4b700ab045e25bb751584223b06e838d3e5dc826
arm.c (use_return_insn): Use offsets->saved_regs_mask instead of {arm,thumb}_compute_save_reg_mask.

2008-03-12  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask
instead of {arm,thumb}_compute_save_reg_mask.
(output_return_instruction): Ditto.
(thumb_unexpanded_epilogue): Ditto.
(thumb1_expand_prologue): Ditto.
(thumb1_output_function_prologue): Ditto.
(arm_set_return_address): Ditto.
(thumb_set_return_address): Ditto.
(arm_get_frame_offsets): Set offsets->saved_regs_mask.  Push extra
regs to achieve stack alignment.
(thumb1_compute_save_reg_mask): Fix compiler warning.
(arm_output_epilogue): Use offsets->saved_regs_mask.
Adjust stack pointer by poping call clobered registers.
(arm_expand_prologue): Use offsets->saved_regs_mask.
Adjust stack pointer by pushing extra registers.
* gcc/config/arm.h (arm_stack_offsets): Add saved_regs_mask.

From-SVN: r133148
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h