diff options
author | Martin Liska <mliska@suse.cz> | 2021-12-21 17:43:55 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-12-29 12:44:25 +0100 |
commit | ad964f7eaef9c03ce68a01cfdd7fde9d56524868 (patch) | |
tree | 3b282a6fb99d06a4e8a2a4b8dbd970329452f843 /gcc/doc/invoke.texi | |
parent | 52a6b06c26346cfb6972252ef547720b431844e6 (diff) | |
download | gcc-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.texi | 4 |
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} |