aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2016-09-28 17:54:06 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2016-09-29 16:33:25 +0200
commit084303b8c636944564d7be3b85dde55e8c371e91 (patch)
tree80993d8ee34940a43773da8d03594584ffeb7775 /gas/doc
parenta5721ba270ddf860e0e5a45bba456214e8eac2be (diff)
downloadgdb-084303b8c636944564d7be3b85dde55e8c371e91.zip
gdb-084303b8c636944564d7be3b85dde55e8c371e91.tar.gz
gdb-084303b8c636944564d7be3b85dde55e8c371e91.tar.bz2
Add .cfi_val_offset GAS command.
This patch adds support for .cfi_val_offset GAS pseudo command which maps to DW_CFA_val_offset and DW_CFA_val_offset_sf. gas/ChangeLog: 2016-09-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * doc/as.texinfo: Add docu for .cfi_val_offset. * dw2gencfi.c (cfi_add_CFA_val_offset): New function. (dot_cfi): Add case for DW_CFA_val_offset. (output_cfi_insn): Likewise. (cfi_pseudo_table): Add entry for cfi_val_offset. * dw2gencfi.h: Add prototype for cfi_add_CFA_val_offset. * testsuite/gas/cfi/cfi-common-8.d: New test. * testsuite/gas/cfi/cfi-common-8.s: New test. * testsuite/gas/cfi/cfi.exp: Run cfi-common-8 testcase. binutils/ChangeLog: 2016-09-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * dwarf.c (display_debug_frames): Adjust output line.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index cdaeb6b..82cc72d 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -4831,6 +4831,9 @@ value that is added/substracted from the previous offset.
Previous value of @var{register} is saved at offset @var{offset} from
CFA.
+@subsection @code{.cfi_val_offset @var{register}, @var{offset}}
+Previous value of @var{register} is CFA + @var{offset}.
+
@subsection @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}