[lld] r265619 - Ignore --warn-execstack.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 16:55:43 PDT 2016


Author: ruiu
Date: Wed Apr  6 18:55:43 2016
New Revision: 265619

URL: http://llvm.org/viewvc/llvm-project?rev=265619&view=rev
Log:
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.

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=265619&r1=265618&r2=265619&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Wed Apr  6 18:55:43 2016
@@ -210,6 +210,7 @@ def no_warn_mismatch : Flag<["--"], "no-
 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">;
 




More information about the llvm-commits mailing list