dwarf2cfi: Handle return column save from CIE.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 20:39:00 +0000 (20:39 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 20:39:00 +0000 (20:39 +0000)
commit6ca363a7410bcbd5e2458e5ec326a3cb5f874562
treeb273c934da93c7ba2fcdf8ed23a51aca37b5171b
parent4a7a4715f3b3506a80982805af2d7b73d72ec759
dwarf2cfi: Handle return column save from CIE.

When we record a save of the return column in the CIE, remember
that while processing the FDE.  This requires propagating the
handling of PC_RTX as a representative of the return column to
more locations.

MIPS had been handling this case by hand, and is no longer required.

        * dwarf2cfi.c (cie_return_save): New.
        (queue_reg_save): Use compare_reg_or_pc.
        (dwarf2out_flush_queued_reg_saves): Handle pc_rtx as return column.
        (dwarf2out_frame_debug_expr): Likewise.
        (dwarf2out_frame_debug_cfa_register): Record saved reg for pc too.
        (initial_return_save): Likewise.
        (execute_dwarf2_frame): Save and restore initial return save from
        the cie to the fde.
        * config/mips/mips.c (mips_frame_set): Remove special case for
        DWARF_FRAME_RETURN_COLUMN.

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