Ignore --warn-execstack.
authorRui Ueyama <ruiu@google.com>
Wed, 6 Apr 2016 23:55:43 +0000 (23:55 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 6 Apr 2016 23:55:43 +0000 (23:55 +0000)
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

index 30c0a9e..31ccf9b 100644 (file)
@@ -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">;