aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 00:59:43 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 03:31:35 -0800
commit040622a7299dbf3d037490093a5506e08369ee96 (patch)
tree83bcb22c625b3d1ba5a3e332559eac8ed427f3a6 /gas/dw2gencfi.h
parent71a17ca2f0cc4d364e157f00299f77b05fdec263 (diff)
downloadbinutils-040622a7299dbf3d037490093a5506e08369ee96.zip
binutils-040622a7299dbf3d037490093a5506e08369ee96.tar.gz
binutils-040622a7299dbf3d037490093a5506e08369ee96.tar.bz2
gas: dw2gencfi: expose a new cfi_set_last_fde API
gas/ * dw2gencfi.c (cfi_set_last_fde): New definition. (dot_cfi_endproc): Use it. (dot_cfi_fde_data): Likewise. (dot_cfi_inline_lsda): Likewise. * dw2gencfi.h (struct fde_entry): New declaration. (cfi_set_last_fde): Likewise.
Diffstat (limited to 'gas/dw2gencfi.h')
-rw-r--r--gas/dw2gencfi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h
index 317cb5e..ff52add 100644
--- a/gas/dw2gencfi.h
+++ b/gas/dw2gencfi.h
@@ -25,6 +25,7 @@
#include "dwarf2.h"
struct symbol;
+struct fde_entry;
extern const pseudo_typeS cfi_pseudo_table[];
@@ -35,6 +36,7 @@ extern void cfi_finish (void);
/* Entry points for backends to add unwind information. */
extern void cfi_new_fde (struct symbol *);
extern void cfi_end_fde (struct symbol *);
+extern void cfi_set_last_fde (struct fde_entry *fde);
extern void cfi_set_return_column (unsigned);
extern void cfi_set_sections (void);
extern void cfi_add_advance_loc (struct symbol *);