diff options
author | Roman Geissler <roman.geissler@amadeus.com> | 2018-11-08 22:05:27 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-11-08 15:05:27 -0700 |
commit | d69ac8b7f890f79560b11a3548fa39f3e7f8427e (patch) | |
tree | 6fe5b023be4d7d87a9301cfbe8bdcaac9b59f28b /gcc/opts.c | |
parent | d28441a7e79071c327afffae3eea189f7a9942bb (diff) | |
download | gcc-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |