Thank you for spending time on this!  It's been sitting on my todo list for 
over a year.

David

On 25 Jun 2014, at 19:07, Logan Chien <[email protected]> wrote:

> Hi theraven, rafael,
> 
> 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.
> 
> http://reviews.llvm.org/D4295
> 
> Files:
>  include/clang/Basic/DiagnosticDriverKinds.td
>  include/clang/Driver/Options.td
>  include/clang/Driver/ToolChain.h
>  lib/Driver/ToolChain.cpp
>  lib/Driver/ToolChains.cpp
>  lib/Driver/Tools.cpp
>  test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld
>  test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld.bfd
>  test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld.gold
>  test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld
>  test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld.bfd
>  test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld.gold
>  test/Driver/Inputs/basic_freebsd_tree/usr/bin/ld.bfd
>  test/Driver/Inputs/basic_freebsd_tree/usr/bin/ld.gold
>  test/Driver/fuse-ld.c
> <D4295.10842.patch>


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to