OSDN Git Service

2008-03-11 Paul Brook <paul@codesourcery.com>
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2008 17:43:22 +0000 (17:43 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2008 17:43:22 +0000 (17:43 +0000)
commit6640ca582ae318f1a2adb973d1cc8f74e41e6780
tree9aab21af74f13d71b320c1bcf209e001e2f18eeb
parent8ae2fa3bd7b9696c53bcae6430cc6b60dd4bb4ae
2008-03-11  Paul Brook  <paul@codesourcery.com>
Vladimir Prus  <vladimir@codesourcery.com>

* config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
(arm_compute_save_reg0_reg12_mask): Always
check if register 11 must be saved.  Always safe hard frame pointer
when frame_pointer_needeed.
(arm_compute_save_reg_mask): Save IP and PC
only with apcs frames.
(arm_output_epilogue): Adjust Thumb2 codepath to
be also invoked and work for ARM non-apcs frames.
(arm_expand_prologue): Don't bother saving IP
for non-apcs frame, since it's not clobbered by
prologue code.  Implement non-apcs frame
layout.

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