diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-08 10:06:17 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-08 10:06:17 +0000 |
commit | 17076204402e68b3779f1e85a6d5d83eae3f1a33 (patch) | |
tree | a8a3cd4daceee729199d1b10c4f7499eef3854e5 /gas | |
parent | fa87b337c32686ec4526ea03e3041737ebdeb9f0 (diff) | |
download | gdb-17076204402e68b3779f1e85a6d5d83eae3f1a33.zip gdb-17076204402e68b3779f1e85a6d5d83eae3f1a33.tar.gz gdb-17076204402e68b3779f1e85a6d5d83eae3f1a33.tar.bz2 |
* doc/as.texinfo: Document .cfi_rel_offset.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 2 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 799898f..886933d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2003-06-07 Richard Henderson <rth@redhat.com> + * 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 720c054..9270da8 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} } |