summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-fuse-ld-lld-doc.diff
blob: 6483281bdbfba46c5bde3194dcdc341fc54ea0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# DP: Allow to use lld with -fuse-ld=ld.lld (documentation)

Index: gcc/doc/invoke.texi
===================================================================
--- a/src/gcc/doc/invoke.texi	(revision 246158)
+++ a/src/gcc/doc/invoke.texi	(working copy)
@@ -10501,6 +10501,10 @@
 @opindex fuse-ld=gold
 Use the @command{gold} linker instead of the default linker.
 
+@item -fuse-ld=lld
+@opindex fuse-ld=lld
+Use the LLVM @command{lld} linker instead of the default linker.
+
 @cindex Libraries
 @item -l@var{library}
 @itemx -l @var{library}