diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-11 23:16:58 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-11 23:16:58 +0000 |
commit | cdfbf930b96d5ae51342f34dd180323a8011f8ef (patch) | |
tree | 7b44edfdd335470b947085026b832e2f960460ac /gas/doc | |
parent | 2d8f7dc8d5dc22ec3f6527d2a7636ba8f3f57d34 (diff) | |
download | gdb-cdfbf930b96d5ae51342f34dd180323a8011f8ef.zip gdb-cdfbf930b96d5ae51342f34dd180323a8011f8ef.tar.gz gdb-cdfbf930b96d5ae51342f34dd180323a8011f8ef.tar.bz2 |
* dw2gencfi.c (struct cfi_escape_data): New.
(cfi_add_CFA_nop): Remove.
(CFI_escape, dot_cfi_escape): New.
(dot_cfi): Remove nop.
(cfi_pseudo_table): Remove nop; add escape.
(output_cfi_insn): Likewise.
(select_cie_for_fde): Stop on escape.
* dw2gencfi.h (cfi_add_CFA_nop): Remove.
* read.c, read.h (do_parse_cons_expression): New.
* doc/as.texinfo (.cfi_escape): New.
* gas/cfi/cfi-common-3.[ds]: New.
* gas/cfi/cfi.exp: Run it.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index d37198a..3e608d4 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -3691,13 +3691,7 @@ Some machine configurations provide additional directives. * Byte:: @code{.byte @var{expressions}} * Comm:: @code{.comm @var{symbol} , @var{length} } -* CFI directives:: @code{.cfi_startproc} - @code{.cfi_endproc} - @code{.cfi_def_cfa @var{register}, @var{offset}} - @code{.cfi_def_cfa_register @var{register}} - @code{.cfi_def_cfa_offset @var{offset}} - @code{.cfi_adjust_cfa_offset @var{offset}} - @code{.cfi_offset @var{register}, @var{offset}} +* CFI directives:: @code{.cfi_startproc}, @code{.cfi_endproc}, etc. * Data:: @code{.data @var{subsection}} @ifset COFF @@ -4020,8 +4014,10 @@ using the known displacement of the CFA register from the CFA. This is often easier to use, because the number will match the code it's annotating. -@node Comm -@section @code{.comm @var{symbol} , @var{length} } +@section @code{.cfi_escape} @var{expression}[, @dots{}] +Allows the user to add arbitrary bytes to the unwind info. One +might use this to add OS-specific CFI opcodes, or generic CFI +opcodes that GAS does not yet support. @cindex @code{comm} directive @cindex symbol, common |