[lld] r338275 - [docs] Update ld.lld.1

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 10:36:38 PDT 2018


Author: maskray
Date: Mon Jul 30 10:36:38 2018
New Revision: 338275

URL: http://llvm.org/viewvc/llvm-project?rev=338275&view=rev
Log:
[docs] Update ld.lld.1

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=338275&r1=338274&r2=338275&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Mon Jul 30 10:36:38 2018
@@ -58,8 +58,8 @@ defm allow_multiple_definition: B<"allow
     "Do not allow multiple definitions (default)">;
 
 defm apply_dynamic_relocs: B<"apply-dynamic-relocs",
-    "Apply dynamic relocations to place",
-    "Do not apply dynamic relocations to place">;
+    "Apply link-time values for dynamic relocations",
+    "Do not apply link-time values for dynamic relocations (default)">;
 
 defm as_needed: B<"as-needed",
     "Only set DT_NEEDED for shared libraries if used",

Modified: lld/trunk/docs/ld.lld.1
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/ld.lld.1?rev=338275&r1=338274&r2=338275&view=diff
==============================================================================
--- lld/trunk/docs/ld.lld.1 (original)
+++ lld/trunk/docs/ld.lld.1 Mon Jul 30 10:36:38 2018
@@ -30,6 +30,8 @@ These options are available:
 .It Fl -allow-multiple-definition
 Do not error if a symbol is defined multiple times.
 The first definition will be used.
+.It Fl -apply-dynamic-relocs
+Apply link-time values for dynamic relocations.
 .It Fl -as-needed
 Only set
 .Dv DT_NEEDED
@@ -42,10 +44,10 @@ field to the specified name.
 Link against shared libraries.
 .It Fl -Bstatic
 Do not link against shared libraries.
-.It Fl -Bsymbolic-functions
-Bind defined function symbols locally.
 .It Fl -Bsymbolic
 Bind defined symbols locally.
+.It Fl -Bsymbolic-functions
+Bind defined function symbols locally.
 .It Fl -build-id Ns = Ns Ar value
 Generate a build ID note.
 .Ar value
@@ -432,6 +434,10 @@ Make the main stack executable.
 Stack permissions are recorded in the
 .Dv PT_GNU_STACK
 segment.
+.It Cm initfirst
+Sets the
+.Dv DF_1_INITFIRST
+flag to indicate the module should be initialized first.
 .It Cm muldefs
 Do not error if a symbol is defined multiple times.
 The first definition will be used.




More information about the llvm-commits mailing list