aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/as.texinfo
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-10-02 11:33:50 +0000
committerJakub Jelinek <jakub@redhat.com>2009-10-02 11:33:50 +0000
commit38462edfa268c245acf1f53f65cf3e4c0772e2cd (patch)
tree1aaa1096de6406280db826a1f5808f72283f9a58 /gas/doc/as.texinfo
parenta263f14bb3c96360f3ed7898ffcde64d9f2f32e0 (diff)
downloadgdb-38462edfa268c245acf1f53f65cf3e4c0772e2cd.zip
gdb-38462edfa268c245acf1f53f65cf3e4c0772e2cd.tar.gz
gdb-38462edfa268c245acf1f53f65cf3e4c0772e2cd.tar.bz2
* 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.
Diffstat (limited to 'gas/doc/as.texinfo')
-rw-r--r--gas/doc/as.texinfo9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index e676f84..4bfe793 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -4197,6 +4197,15 @@ undefined.
Each expression is assembled into the next byte.
@node CFI directives
+@section @code{.cfi_sections @var{section_list}}
+@cindex @code{cfi_sections} directive
+@code{.cfi_sections} may be used to specify whether CFI directives
+should emit @code{.eh_frame} section and/or @code{.debug_frame} section.
+If @var{section_list} is @code{.eh_frame}, @code{.eh_frame} is emitted,
+if @var{section_list} is @code{.debug_frame}, @code{.debug_frame} is emitted.
+To emit both use @code{.eh_frame, .debug_frame}. The default if this
+directive is not used is @code{.cfi_sections .eh_frame}.
+
@section @code{.cfi_startproc [simple]}
@cindex @code{cfi_startproc} directive
@code{.cfi_startproc} is used at the beginning of each function that