]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/pa/pa.c
DWARF2 frame notes for hppa.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2001 03:13:54 +0000 (03:13 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2001 03:13:54 +0000 (03:13 +0000)
commitcc8581762929212cd8a812a33f9c8298dcf09256
tree79a81d864652e4c488e5a28d8b18fdb57c97caf2
parent088fd851a3ece21768035b92a897e046cff63717
DWARF2 frame notes for hppa.
* dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
stack pointer via a LO_SUM.  Ditto for setting a temp register
used to save to the stack.  Set cfa_temp when setting fp, and
allow matches to cfa_temp in addition to cfa_store when saving
regs.  Handle POST_INC and LO_SUM register stores.  Document the
changes and errors in rule 12 doco.

* pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
(actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
(load_reg): Move closer to epilogue code.
(DO_FRAME_NOTES): Define to control the following..
(FRP): Define to set RTX_FRAME_RELATED_P on insns.
(hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
notes as necessary.
(hppa_expand_epilogue): Likewise.

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