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/common.opt | |
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/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
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) |