X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gas%2Fdw2gencfi.h;h=605ae3a8c9219ad253cd5e1c94d611853c2aadd4;hb=refs%2Fheads%2Fsandbox%2Fakazmin%2Fgnu_prop_segment;hp=9ef102080f85fccde3e156d47b3dc45e2cecec74;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=external%2Fbinutils.git diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h index 9ef1020..605ae3a 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-2019 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. */