summaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-06-04 16:54:45 +0000
committerJakub Jelinek <jakub@redhat.com>2003-06-04 16:54:45 +0000
commit68d55fe3f008459534e270cc7b54f122846466f9 (patch)
tree458470a157a612fad7f94e850c86aba03ae3f221 /gas/as.h
parentb21fd293ac00e7804f1d576440e5bd2e38f1a2a3 (diff)
downloadbinutils-gdb-68d55fe3f008459534e270cc7b54f122846466f9.tar.gz
* as.c (show_usage): Document --execstack and --noexecstack.
(parse_args): Add --execstack and --noexecstack. (main): Create .note.GNU-stack section if --execstack or --noexecstack was given on comand line, set its SHF_EXECINSTR bit. * as.h (flag_execstack, flag_noexecstack): New.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 2c5a22ccde4..21219644d5a 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -436,6 +436,12 @@ COMMON int flag_strip_local_absolute;
/* True if we should generate a traditional format object file. */
COMMON int flag_traditional_format;
+/* TRUE if .note.GNU-stack section with SEC_CODE should be created */
+COMMON int flag_execstack;
+
+/* TRUE if .note.GNU-stack section with SEC_CODE should be created */
+COMMON int flag_noexecstack;
+
/* name of emitted object file */
COMMON char *out_file_name;