diff options
author | Richard Henderson <rth@redhat.com> | 2011-07-09 13:39:00 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-07-09 13:39:00 -0700 |
commit | a8e5c0e77e06f7776efcb59cf79562a2a16fb1df (patch) | |
tree | b273c934da93c7ba2fcdf8ed23a51aca37b5171b /gcc/config/mips/mips.c | |
parent | 4a8ee1224175358105056d64a611443680257a2e (diff) | |
download | gcc-a8e5c0e77e06f7776efcb59cf79562a2a16fb1df.zip gcc-a8e5c0e77e06f7776efcb59cf79562a2a16fb1df.tar.gz gcc-a8e5c0e77e06f7776efcb59cf79562a2a16fb1df.tar.bz2 |
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.
From-SVN: r176099
Diffstat (limited to 'gcc/config/mips/mips.c')
-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 f4010da..ee71c40 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; |