From: Richard Henderson Date: Sun, 8 Jun 2003 10:06:17 +0000 (+0000) Subject: * doc/as.texinfo: Document .cfi_rel_offset. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17076204402e68b3779f1e85a6d5d83eae3f1a33;p=binutils-gdb.git * doc/as.texinfo: Document .cfi_rel_offset. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 799898f96df..886933dafec 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2003-06-07 Richard Henderson + * doc/as.texinfo: Document .cfi_rel_offset. + * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New. (cfi_add_CFA_offset): Detect invalid offsets. (cfi_add_CFA_remember_state): Save cur_cfa_offset. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 720c05491e8..9270da8e408 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -3698,7 +3698,6 @@ Some machine configurations provide additional directives. @code{.cfi_def_cfa_offset @var{offset}} @code{.cfi_adjust_cfa_offset @var{offset}} @code{.cfi_offset @var{register}, @var{offset}} - @code{.cfi_verbose [1|0]} * Data:: @code{.data @var{subsection}} @ifset COFF @@ -4014,9 +4013,12 @@ value that is added/substracted from the previous offset. Previous value of @var{register} is saved at offset @var{offset} from CFA. -@section @code{.cfi_verbose [1|0]} -Switch on/off verbosity of the CFI machinery. @value{AS} will print -lots of useful messages to standard output if you use this directive. +@section @code{.cfi_rel_offset @var{register}, @var{offset}} +Previous value of @var{register} is saved at offset @var{offset} from +the current CFA register. This is transformed to @code{.cfi_offset} +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} }