collect2.c (linker_select): Add USE_LLD_LD.
authorRoman Geissler <roman.geissler@amadeus.com>
Thu, 8 Nov 2018 22:05:27 +0000 (22:05 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 8 Nov 2018 22:05:27 +0000 (15:05 -0700)
commitd69ac8b7f890f79560b11a3548fa39f3e7f8427e
tree6fe5b023be4d7d87a9301cfbe8bdcaac9b59f28b
parentd28441a7e79071c327afffae3eea189f7a9942bb
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
gcc/ChangeLog
gcc/collect2.c
gcc/common.opt
gcc/doc/invoke.texi
gcc/opts.c