Merge upstream Clang revision 211785:
This commit implements the -fuse-ld= option, so that the user can specify -fuse-ld=bfd to use ld.bfd. This commit re-applies r194328 with some test case changes. It seems that r194328 was breaking macosx or mingw build because clang can't find ld.bfd or ld.gold in the given sysroot. We should use -B to specify the executable search path instead. Patch originally by David Chisnall.
This is a merge from stable/10 rather than MFC as this is change was
already included in Clang 3.5 in HEAD.
MFS-10: r279302
Sponsored by: The FreeBSD Foundation