diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2016-09-28 17:54:06 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2016-09-29 16:33:25 +0200 |
commit | 084303b8c636944564d7be3b85dde55e8c371e91 (patch) | |
tree | 80993d8ee34940a43773da8d03594584ffeb7775 /gas/doc | |
parent | a5721ba270ddf860e0e5a45bba456214e8eac2be (diff) | |
download | gdb-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.texinfo | 3 |
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} |