aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 01:00:00 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 03:31:35 -0800
commit2cea9515b55f6e6748e268c7ab137fb534237de2 (patch)
tree4390314f0b3a4a9627013cd0e945744ac096eef4 /gas/dw2gencfi.h
parent4c5e0261cf4ae9ef4e86fd9bfe6cb19581d5cff6 (diff)
downloadbinutils-2cea9515b55f6e6748e268c7ab137fb534237de2.zip
binutils-2cea9515b55f6e6748e268c7ab137fb534237de2.tar.gz
binutils-2cea9515b55f6e6748e268c7ab137fb534237de2.tar.bz2
gas: dw2gencfi: expose dot_cfi_sections for scfidw2gen
scfidw2gen will use this for processing the .cfi_sections directive. gas/ * dw2gencfi.c (dot_cfi_sections): Not static anymore. * dw2gencfi.h (dot_cfi_sections): Mark as extern.
Diffstat (limited to 'gas/dw2gencfi.h')
-rw-r--r--gas/dw2gencfi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h
index 2e1f175..c73fd40 100644
--- a/gas/dw2gencfi.h
+++ b/gas/dw2gencfi.h
@@ -41,6 +41,10 @@ extern const pseudo_typeS cfi_pseudo_table[];
# define tc_cfi_endproc(fde) ((void) (fde))
#endif
+/* Parse CFI assembler directive .cfi_sections. This is an external function
+ because SCFI functionality also uses the same implementation. */
+extern void dot_cfi_sections (int);
+
/* cfi_finish() is called at the end of file. It will complain if
the last CFI wasn't properly closed by .cfi_endproc. */
extern void cfi_finish (void);