aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorRoman Geissler <roman.geissler@amadeus.com>2018-11-08 22:05:27 +0000
committerJeff Law <law@gcc.gnu.org>2018-11-08 15:05:27 -0700
commitd69ac8b7f890f79560b11a3548fa39f3e7f8427e (patch)
tree6fe5b023be4d7d87a9301cfbe8bdcaac9b59f28b /gcc/opts.c
parentd28441a7e79071c327afffae3eea189f7a9942bb (diff)
downloadgcc-d69ac8b7f890f79560b11a3548fa39f3e7f8427e.zip
gcc-d69ac8b7f890f79560b11a3548fa39f3e7f8427e.tar.gz
gcc-d69ac8b7f890f79560b11a3548fa39f3e7f8427e.tar.bz2
collect2.c (linker_select): Add USE_LLD_LD.
* collect2.c (linker_select): Add USE_LLD_LD. (ld_suffixes): Add ld.lld. (main): Handle -fuse-ld=lld. * common.opt (-fuse-ld=lld): New option. * doc/invoke.texi (-fuse-ld=lld): Document. * opts.c (common_handle_option): Handle OPT_fuse_ld_lld. From-SVN: r265940
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 34c283d..f094f5f 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -2557,6 +2557,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_linker_plugin:
/* No-op. Used by the driver and passed to us because it starts with f.*/
break;