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/opts.c | |
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/opts.c')
-rw-r--r-- | gcc/opts.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3105,6 +3105,7 @@ common_handle_option (struct gcc_options *opts, case OPT_fuse_ld_bfd: case OPT_fuse_ld_gold: case OPT_fuse_ld_lld: + case OPT_fuse_ld_mold: case OPT_fuse_linker_plugin: /* No-op. Used by the driver and passed to us because it starts with f.*/ break; |