summaryrefslogtreecommitdiffstats
path: root/src/ld.h
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-06-11 00:20:43 +0000
committerUlrich Drepper <[email protected]>2006-06-11 00:20:43 +0000
commit2d88028a7b30d9e9be8e5af089cd6dcc22f80ce1 (patch)
tree5a10d1118c2d8d0d696c6b83c796c77ed7c30414 /src/ld.h
parent697f4db2f34c054a2f93b45dbdbbaec82e34a409 (diff)
Implement -z execstack/noexecstack options.
Diffstat (limited to 'src/ld.h')
-rw-r--r--src/ld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ld.h b/src/ld.h
index 6e8e7b5f..1d964814 100644
--- a/src/ld.h
+++ b/src/ld.h
@@ -956,6 +956,14 @@ struct ld_state
bool default_bind_local;
bool default_bind_global;
+ /* Execuatable stack selection. */
+ enum execstack
+ {
+ execstack_false = 0,
+ execstack_true,
+ execstack_false_force
+ } execstack;
+
/* True if only used sections are used. */
bool gc_sections;