X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdw2gencfi.h;h=3af2875767fa899a12d3f7a1f77414d064594a51;hb=bd70b1f240b24d8c9b08868ca777f5a81d13c0c2;hp=9ef102080f85fccde3e156d47b3dc45e2cecec74;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h index 9ef102080f..3af2875767 100644 --- a/gas/dw2gencfi.h +++ b/gas/dw2gencfi.h @@ -1,5 +1,5 @@ /* dw2gencfi.h - Support for generating Dwarf2 CFI information. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. Contributed by Michal Ludvig This file is part of GAS, the GNU Assembler. @@ -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); @@ -134,6 +135,22 @@ enum { EH_COMPACT_HAS_LSDA }; +/* Stack of old CFI data, for save/restore. */ +struct cfa_save_data +{ + struct cfa_save_data *next; + offsetT cfa_offset; +}; + +/* Current open FDE entry. */ +struct frch_cfi_data +{ + struct fde_entry *cur_fde_data; + symbolS *last_address; + offsetT cur_cfa_offset; + struct cfa_save_data *cfa_save_stack; +}; + struct fde_entry { struct fde_entry *next; @@ -161,6 +178,9 @@ struct fde_entry /* For out of line tables and FDEs. */ symbolS *eh_loc; int sections; +#ifdef tc_fde_entry_extras + tc_fde_entry_extras +#endif }; /* The list of all FDEs that have been collected. */