From e0f1ab87c869c7a75cf7bbbd9d8683743ac3f934 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 6 Apr 2016 23:55:43 +0000 Subject: [PATCH] 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 --- lld/ELF/Options.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 30c0a9e..31ccf9b 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">; -- 2.7.4