arm.c (thumb_force_lr_save): Add prototype.
authorPaul Brook <paul@codesourcery.com>
Wed, 11 Aug 2004 20:59:15 +0000 (20:59 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 11 Aug 2004 20:59:15 +0000 (20:59 +0000)
commit57934c3979991f3984916e11a87e158e760fb297
tree9f9099725e1e7cd3097e1c04521551931d0e2cff
parentaf874237026fe74596f56717961c674352d8a0f6
arm.c (thumb_force_lr_save): Add prototype.

* 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.

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