summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-04-06 23:55:43 +0000
committerRui Ueyama <ruiu@google.com>2016-04-06 23:55:43 +0000
commite0f1ab87c869c7a75cf7bbbd9d8683743ac3f934 (patch)
treeb5eaca917dc9158fc1a15c349aed9003f12ffaab
parent9e479e4763df7801a7da3209f69dcb4875645552 (diff)
downloadbcm5719-llvm-e0f1ab87c869c7a75cf7bbbd9d8683743ac3f934.tar.gz
bcm5719-llvm-e0f1ab87c869c7a75cf7bbbd9d8683743ac3f934.zip
Ignore --warn-execstack.
Stack is not executable by default in LLD-built executables unless you pass -z execstack option. So --warn-execstack option does not make sense to us. llvm-svn: 265619
-rw-r--r--lld/ELF/Options.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 30c0a9efe73..31ccf9ba398 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -210,6 +210,7 @@ def no_warn_mismatch : Flag<["--"], "no-warn-mismatch">;
def rpath_link : Separate<["--", "-"], "rpath-link">;
def rpath_link_eq : Joined<["--", "-"], "rpath-link=">;
def version_script : Separate<["--"], "version-script">;
+def warn_execstack : Flag<["--"], "warn-execstack">;
def warn_shared_textrel : Flag<["--"], "warn-shared-textrel">;
def G : Separate<["-"], "G">;
OpenPOWER on IntegriCloud