summaryrefslogtreecommitdiff
path: root/gnu/llvm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-04-07 02:35:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-04-07 02:35:28 +0000
commitbff22b02edcf5c492d1f1a5e655ded5f14ddc960 (patch)
treed648a173b251ebce1ff8f4200c5d2af1e2e4ac30 /gnu/llvm
parentbaa1836edc685a4cf85231fb10605fe218baf0cf (diff)
add back ld.lld 6.0 changes
Diffstat (limited to 'gnu/llvm')
-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