[lld] r326536 - Update man page for long opts that accept = after r326506

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 18:57:12 PST 2018


Author: emaste
Date: Thu Mar  1 18:57:12 2018
New Revision: 326536

URL: http://llvm.org/viewvc/llvm-project?rev=326536&view=rev
Log:
Update man page for long opts that accept = after r326506

Also remove the space between --lto-O and value, as the option with a
space is not accepted at present.

Leave --opt-remarks-filename as it does not currently accept the = form.

llvm.org/pr36563

Modified:
    lld/trunk/docs/ld.lld.1

Modified: lld/trunk/docs/ld.lld.1
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/ld.lld.1?rev=326536&r1=326535&r2=326536&view=diff
==============================================================================
--- lld/trunk/docs/ld.lld.1 (original)
+++ lld/trunk/docs/ld.lld.1 Thu Mar  1 18:57:12 2018
@@ -34,7 +34,7 @@ The first definition will be used.
 Only set
 .Dv DT_NEEDED
 for shared libraries if used.
-.It Fl -auxiliary Ar value
+.It Fl -auxiliary Ns = Ns Ar value
 Set the
 .Dv DT_AUXILIARY
 field to the specified name.
@@ -113,7 +113,7 @@ Delete all local symbols.
 Delete temporary local symbols.
 .It Fl -discard-none
 Keep all symbols in the symbol table.
-.It Fl -dynamic-linker Ar value
+.It Fl -dynamic-linker Ns = Ns Ar value
 Specify the dynamic linker to be used for a dynamically linked executable.
 This is recorded in an ELF segment of type
 .Dv PT_INTERP .
@@ -200,7 +200,7 @@ Used in conjunction with
 .Fl -lto-newpm-passes .
 .It Fl -lto-newpm-passes Ns = Ns Ar value
 Passes to run during LTO.
-.It Fl -lto-O Ar opt-level
+.It Fl -lto-O Ns Ar opt-level
 Optimization level for LTO.
 .It Fl -lto-partitions Ns = Ns Ar value
 Number of LTO codegen partitions.
@@ -247,7 +247,7 @@ Retain the executable output file whenev
 Do not create a position independent executable.
 .It Fl -nostdlib
 Only search directories specified on the command line.
-.It Fl -oformat Ar format
+.It Fl -oformat Ns = Ns Ar format
 Specify the format for the output object file.
 The only supported
 .Ar format
@@ -308,7 +308,7 @@ and
 .It Fl -script Ns = Ns Ar file
 Read linker script from
 .Ar file .
-.It Fl -section-start Ar section Ns = Ns Ar address
+.It Fl -section-start Ns = Ar section Ns = Ns Ar address
 Set address of section.
 .It Fl -shared
 Build a shared object.
@@ -326,7 +326,7 @@ in an archive.
 Strip all symbols.
 .It Fl -strip-debug
 Strip debugging information.
-.It Fl -symbol-ordering-file Ar file
+.It Fl -symbol-ordering-file Ns = Ns Ar file
 Lay out sections in the order specified by
 .Ar file .
 .It Fl -sysroot Ns = Ns Ar value
@@ -367,7 +367,7 @@ with
 as the sectionname.
 .It Fl -thinlto-cache-dir Ns = Ns Ar value
 Path to ThinLTO cached object file directory.
-.It Fl -thinlto-cache-policy Ar value
+.It Fl -thinlto-cache-policy Ns = Ns Ar value
 Pruning policy for the ThinLTO cache.
 .It Fl -thinlto-jobs Ns = Ns Ar value
 Number of ThinLTO jobs.




More information about the llvm-commits mailing list