aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
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/common.opt
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/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 2ed818d..dba3fa8 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -3046,6 +3046,10 @@ fuse-ld=lld
Common Driver Negative(fuse-ld=lld)
Use the lld LLVM linker instead of the default linker.
+fuse-ld=mold
+Common Driver Negative(fuse-ld=mold)
+Use the Modern linker (MOLD) linker instead of the default linker.
+
fuse-linker-plugin
Common Undocumented Var(flag_use_linker_plugin)