summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/llvm/tools/lld/docs/ld.lld.114
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/llvm/tools/lld/docs/ld.lld.1 b/gnu/llvm/tools/lld/docs/ld.lld.1
index dcacd6fa316..64e3e2dc624 100644
--- a/gnu/llvm/tools/lld/docs/ld.lld.1
+++ b/gnu/llvm/tools/lld/docs/ld.lld.1
@@ -50,6 +50,7 @@ Bind defined symbols locally.
Generate a build ID note.
.Ar value
may be one of
+.Cm fast ,
.Cm md5 ,
.Cm sha1 ,
.Cm tree ,
@@ -61,13 +62,17 @@ and
is an alias for
.Cm sha1 .
Build-IDs of type
+.Cm fast ,
.Cm md5 ,
.Cm sha1 ,
and
.Cm tree
are calculated from the object contents.
+.Cm fast
+is not intended to be cryptographically secure.
.It Fl -build-id
-Generate a build ID note.
+Synonym for
+.Fl -build-id Ns = Ns Cm fast .
.It Fl -color-diagnostics Ns = Ns Ar value
Use colors in diagnostics.
.Ar value
@@ -412,6 +417,11 @@ Make the main stack executable.
Stack permissions are recorded in the
.Dv PT_GNU_STACK
segment.
+.It Cm muldefs
+Do not error if a symbol is defined multiple times.
+The first definition will be used.
+This is a synonym for
+.Fl -allow-multiple-definition.
.It Cm nocombreloc
Disable combining and sorting multiple relocation sections.
.It Cm nocopyreloc
@@ -449,6 +459,8 @@ Set the
flag to indicate that the object requires
$ORIGIN
processing.
+.It Cm retpolineplt
+Emit retpoline format PLT entries as a mitigation for CVE-2017-5715.
.It Cm rodynamic
Make the
.Li .dynamic