diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-09 20:39:00 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-09 20:39:00 +0000 |
commit | 6ca363a7410bcbd5e2458e5ec326a3cb5f874562 (patch) | |
tree | b273c934da93c7ba2fcdf8ed23a51aca37b5171b /gcc/config/mips | |
parent | 4a7a4715f3b3506a80982805af2d7b73d72ec759 (diff) | |
download | gcc-6ca363a7410bcbd5e2458e5ec326a3cb5f874562.tar.gz |
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
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index f4010da3657..ee71c4040c7 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -8203,13 +8203,6 @@ mips_frame_set (rtx mem, rtx reg) { rtx set; - /* If we're saving the return address register and the DWARF return - address column differs from the hard register number, adjust the - note reg to refer to the former. */ - if (REGNO (reg) == RETURN_ADDR_REGNUM - && DWARF_FRAME_RETURN_COLUMN != RETURN_ADDR_REGNUM) - reg = gen_rtx_REG (GET_MODE (reg), DWARF_FRAME_RETURN_COLUMN); - set = gen_rtx_SET (VOIDmode, mem, reg); RTX_FRAME_RELATED_P (set) = 1; |