aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/elf.em')
-rw-r--r--ld/emultempl/elf.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em
index 1c5030d..0fb6226 100644
--- a/ld/emultempl/elf.em
+++ b/ld/emultempl/elf.em
@@ -95,6 +95,8 @@ fragment <<EOF
link_info.warn_execstack = DEFAULT_LD_WARN_EXECSTACK;
link_info.no_warn_rwx_segments = ! DEFAULT_LD_WARN_RWX_SEGMENTS;
link_info.default_execstack = DEFAULT_LD_EXECSTACK;
+ link_info.error_execstack = DEFAULT_LD_ERROR_EXECSTACK;
+ link_info.warn_is_error_for_rwx_segments = DEFAULT_LD_ERROR_RWX_SEGMENTS;
}
EOF