[lld] r343032 - Update a --help message and add -execute-only to the man page.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 25 14:39:09 PDT 2018
Author: ruiu
Date: Tue Sep 25 14:39:08 2018
New Revision: 343032
URL: http://llvm.org/viewvc/llvm-project?rev=343032&view=rev
Log:
Update a --help message and add -execute-only to the man page.
Modified:
lld/trunk/ELF/Options.td
lld/trunk/docs/ld.lld.1
Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=343032&r1=343031&r2=343032&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Tue Sep 25 14:39:08 2018
@@ -132,7 +132,7 @@ def error_unresolved_symbols: F<"error-u
defm exclude_libs: Eq<"exclude-libs", "Exclude static libraries from automatic export">;
defm execute_only: B<"execute-only",
- "Do not mark executable sections readable",
+ "Mark executable sections unreadable",
"Mark executable sections readable (default)">;
defm export_dynamic: B<"export-dynamic",
Modified: lld/trunk/docs/ld.lld.1
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/ld.lld.1?rev=343032&r1=343031&r2=343032&view=diff
==============================================================================
--- lld/trunk/docs/ld.lld.1 (original)
+++ lld/trunk/docs/ld.lld.1 Tue Sep 25 14:39:08 2018
@@ -144,6 +144,9 @@ Maximum number of errors to emit before
A value of zero indicates that there is no limit.
.It Fl -error-unresolved-symbols
Report unresolved symbols as errors.
+.It Fl -execute-only
+Mark executable sections unreadable. This option is currently only
+supported on AArch64.
.It Fl -exclude-libs Ns = Ns Ar value
Exclude static libraries from automatic export.
.It Fl -export-dynamic , Fl E
More information about the llvm-commits
mailing list