aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2022-11-15 15:06:39 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2022-11-15 15:23:57 -0800
commitb07a29781610756a9b75a931c7c13735b7555d9f (patch)
tree69d330c17627a99ca6b37bb1542aebe289140ae0 /gas/as.h
parent972d23ddbd757b7bee622a231afa79adf82b414f (diff)
downloadgdb-b07a29781610756a9b75a931c7c13735b7555d9f.zip
gdb-b07a29781610756a9b75a931c7c13735b7555d9f.tar.gz
gdb-b07a29781610756a9b75a931c7c13735b7555d9f.tar.bz2
gas: add new command line option --gsframe
When --gsframe is specified, the assembler will generate a .sframe section from the CFI directives in the assembly. ChangeLog: * gas/as.c (parse_args): Parse args and set flag_gen_sframe. * gas/as.h: Introduce skeleton for --gsframe. * gas/doc/as.texi: document --gsframe.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 730e134..1b92407 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -337,6 +337,9 @@ COMMON int flag_execstack;
/* TRUE if .note.GNU-stack section with SEC_CODE should be created */
COMMON int flag_noexecstack;
+/* TRUE if .sframe section should be created. */
+COMMON int flag_gen_sframe;
+
/* name of emitted object file */
COMMON const char *out_file_name;