aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-04-20 13:37:51 +0100
committerNick Clifton <nickc@redhat.com>2022-04-20 13:39:05 +0100
commit65daf5bed68f3e792e80f7c9a12871fd71da32a2 (patch)
treea55da6b2014760d60106975406377517a8133874 /ld/ldlex.h
parent72b580b8f48927cf7bc4cf8bb951aaeff637d0ee (diff)
downloadbinutils-65daf5bed68f3e792e80f7c9a12871fd71da32a2.zip
binutils-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.gz
binutils-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.bz2
Add linker warning for when it creates an executable stack.
PR 29072
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r--ld/ldlex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlex.h b/ld/ldlex.h
index bc58fea..1d42dc8 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
@@ -164,6 +164,8 @@ enum option_values
OPTION_CTF_VARIABLES,
OPTION_NO_CTF_VARIABLES,
OPTION_CTF_SHARE_TYPES,
+ OPTION_WARN_EXECSTACK,
+ OPTION_NO_WARN_EXECSTACK,
};
/* The initial parser states. */