OSDN Git Service

dwarf2: Move CFI output routines to dwarf2cfi.c.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3b8fdf8..436e037 100644 (file)
@@ -1,5 +1,51 @@
 2011-07-09  Richard Henderson  <rth@redhat.com>
 
+       * defaults.h (DWARF2_ADDR_SIZE, DWARF_OFFSET_SIZE,
+       DWARF_TYPE_SIGNATURE_SIZE): Move from ...
+       * dwarf2out.c: ... here.
+       (output_all_cfis): Remove.
+       (dwarf2out_switch_text_section): Use output_cfis directly.
+       (size_of_locs): Export.
+       (output_loc_sequence, output_loc_sequence_raw): Export.
+       (div_data_align, need_data_align_sf_opcode, dwarf_cfi_name, output_cfi,
+       output_cfi_directive, dwarf2out_emit_cfi, output_cfis, output_cfa_loc,
+       output_cfa_loc_raw): Move to ...
+       * dwarfcfi.c: ... here.
+       * dwarf2out.h: Update decls.
+
+2011-07-09  Richard Henderson  <rth@redhat.com>
+
+       * defaults.h (DWARF_CIE_DATA_ALIGNMENT, DWARF_FRAME_RETURN_COLUMN,
+       DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Move from ...
+       * dwarf2cfi.c: ... here.
+       (PTR_SIZE, DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE): Remove.
+       (DWARF_ROUND, DWARF_CIE_ID): Remove.
+       * dwarf2out.c (INCOMING_RETURN_ADDR_RTX): Remove.
+       (DWARF2_FRAME_REG_OUT, DWARF_CIE_DATA_ALIGNMENT): Remove.
+       (DWARF_FRAME_RETURN_COLUMN, DWARF_FRAME_REGNUM): Remove.
+
+2011-07-09  Richard Henderson  <rth@redhat.com>
+
+       * 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.
+
+2011-07-09  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c (lookup_cfa): Remove.
+       (execute_dwarf2_frame): Assert queues are empty on entry.
+       Setup initial cfa directly, not via lookup_cfa.
+       Don't clear args_size state here.
+
+2011-07-09  Richard Henderson  <rth@redhat.com>
+
        * dwarf2cfi.c (add_cfi_vec): New.
        (add_cfi): Rename from add_fde_cfi.  Add the element to add_cfi_vec.
        (def_cfa_1, reg_save): Remove for_cie argument.  Update all callers.