aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-12-21 17:43:55 +0100
committerMartin Liska <mliska@suse.cz>2021-12-29 12:44:25 +0100
commitad964f7eaef9c03ce68a01cfdd7fde9d56524868 (patch)
tree3b282a6fb99d06a4e8a2a4b8dbd970329452f843 /gcc/doc/invoke.texi
parent52a6b06c26346cfb6972252ef547720b431844e6 (diff)
downloadgcc-ad964f7eaef9c03ce68a01cfdd7fde9d56524868.zip
gcc-ad964f7eaef9c03ce68a01cfdd7fde9d56524868.tar.gz
gcc-ad964f7eaef9c03ce68a01cfdd7fde9d56524868.tar.bz2
Support ld.mold linker.
gcc/ChangeLog: * collect2.c (main): Add ld.mold. * common.opt: Add -fuse-ld=mold. * doc/invoke.texi: Document it. * gcc.c (driver_handle_option): Handle -fuse-ld=mold. * opts.c (common_handle_option): Likewise.
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e644c63..54fa75b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -16266,6 +16266,10 @@ Use the @command{gold} linker instead of the default linker.
@opindex fuse-ld=lld
Use the LLVM @command{lld} linker instead of the default linker.
+@item -fuse-ld=mold
+@opindex fuse-ld=mold
+Use the Modern Linker (@command{mold}) instead of the default linker.
+
@cindex Libraries
@item -l@var{library}
@itemx -l @var{library}