aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.h
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/dw2gencfi.h
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/dw2gencfi.h')
-rw-r--r--gas/dw2gencfi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h
index 9ef1020..cbc4233 100644
--- a/gas/dw2gencfi.h
+++ b/gas/dw2gencfi.h
@@ -41,6 +41,7 @@ extern void cfi_add_advance_loc (struct symbol *);
extern void cfi_add_label (const char *);
extern void cfi_add_CFA_offset (unsigned, offsetT);
+extern void cfi_add_CFA_val_offset (unsigned, offsetT);
extern void cfi_add_CFA_def_cfa (unsigned, offsetT);
extern void cfi_add_CFA_register (unsigned, unsigned);
extern void cfi_add_CFA_def_cfa_register (unsigned);