diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-06-04 16:54:45 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-06-04 16:54:45 +0000 |
commit | 68d55fe3f008459534e270cc7b54f122846466f9 (patch) | |
tree | 458470a157a612fad7f94e850c86aba03ae3f221 /gas/as.h | |
parent | b21fd293ac00e7804f1d576440e5bd2e38f1a2a3 (diff) | |
download | binutils-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |