* dw2gencfi.c: Include dwarf2dbg.h.
authorJakub Jelinek <jakub@redhat.com>
Fri, 2 Oct 2009 11:33:50 +0000 (11:33 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 2 Oct 2009 11:33:50 +0000 (11:33 +0000)
commit38462edfa268c245acf1f53f65cf3e4c0772e2cd
tree1aaa1096de6406280db826a1f5808f72283f9a58
parenta263f14bb3c96360f3ed7898ffcde64d9f2f32e0
* dw2gencfi.c: Include dwarf2dbg.h.
(DWARF2_FORMAT): Define if not defined.
(dot_cfi_sections): New function.
(cfi_pseudo_table): Handle .cfi_sections.
(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
(cfi_sections): New variable.
(output_cie, output_fde, select_cie_for_fde): Add eh_frame
argument, add supporting for outputting .debug_frame
section.
(cfi_change_reg_numbers): New function or macro.
(cfi_finish): Only emit .eh_frame if
cfi_sections & CFI_EMIT_eh_frame.  Emit .debug_frame if
cfi_sections & CFI_EMIT_debug_frame.
* config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
* doc/as.texinfo (CFI directives): Document .cfi_sections.
gas/ChangeLog
gas/config/tc-ppc.h
gas/doc/as.texinfo
gas/dw2gencfi.c