* arm.c (thumb_force_lr_save): Add prototype.
commit237533ccfcd502142ff96d0e124891259bc8149b
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2004 20:59:15 +0000 (11 20:59 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2004 20:59:15 +0000 (11 20:59 +0000)
tree9f9099725e1e7cd3097e1c04521551931d0e2cff
parent99bc9eb7cba1b52e7b2785006145fd6557e240fe
* arm.c (thumb_force_lr_save): Add prototype.
(thumb_compute_save_reg_mask): New function.
(thumb_find_work_register): New function.
(arm_get_frame_offsets): Use thumb_compute_save_reg_mask.
(thumb_unexpanded_epilogue): Ditto.  Remove redundant code.
Don't clobber r3 when removing pretend args.
(thumb_expand_prologue): Use thumb_compute_save_reg_mask.
(thumb_output_function_prologue): Use new functions.
(thumb_set_return_address): Use thumb_compute_save_reg_mask.
* arm.h (THUMB_REG_PUSHED_P): Remove.

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