[cfe-commits] [patch] Switch to using ld directly on linux. Add -use-gold-plugin option

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 1 19:59:00 PDT 2010

Updated patch attached. Improvements from the previous one include not
using #ifdefs, some fixes for c++ and simplifications. Unlike the
previous patch the ld line is not exactly the one produced by gcc, but
has the same options.

Tested on the same distros as before. For both C and C++ I checked the
ld command line of

$CC main.o -o main
$CC main.o -o main -static
$CC f.o -o f.so -shared

-------------- next part --------------
A non-text attachment was scrubbed...
Name: link.patch
Type: text/x-patch
Size: 17633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101101/b88dca69/attachment.bin>

More information about the cfe-commits mailing list