ia64.c (ia64_dwarf_handle_frame_unspec): New.
authorRichard Henderson <rth@redhat.com>
Fri, 24 Sep 2010 21:20:51 +0000 (14:20 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 24 Sep 2010 21:20:51 +0000 (14:20 -0700)
commit5c255b57b25e4847b8e556c4b6450e6f559329ff
treeca853092ccb049a5f1c56a25ff23f57cf18aded6
parent42d87712de00f53891da8b73a90de180341eac18
ia64.c (ia64_dwarf_handle_frame_unspec): New.

        * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): New.
        (TARGET_DWARF_HANDLE_FRAME_UNSPEC): New.
        (do_spill): Use REG_CFA_OFFSET.
        (ia64_expand_prologue): Use REG_CFA_ADJUST_CFA and REG_CFA_REGISTER
        as appropriate.
        (ia64_expand_epilogue): Likewise.
        (process_set): Split into ...
        (process_cfa_adjust_cfa): this,
        (process_cfa_register): this,
        (process_cfa_offset): and this new function.
        (ia64_asm_unwind_emit): Use them.  Expect REG_CFA_* notes
        instead of REG_FRAME_RELATED_EXPR.

From-SVN: r164609
gcc/ChangeLog
gcc/config/ia64/ia64.c