<div dir="ltr">Cool. Done!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 7:42 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks!<br>
<br>
Bill, this is also good for 3.4.<br>
<div class="HOEnZb"><div class="h5"><br>
On 2 December 2013 09:17, Alp Toker <<a href="mailto:alp@nuanti.com">alp@nuanti.com</a>> wrote:<br>
> Author: alp<br>
> Date: Mon Dec  2 08:17:47 2013<br>
> New Revision: 196100<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=196100&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=196100&view=rev</a><br>
> Log:<br>
> Cut the gold plugin README down to size<br>
><br>
> This file hasn't been updated in years. Remove old information and point to<br>
> the current documentation at GoldPlugin.rst.<br>
><br>
> Modified:<br>
>     llvm/trunk/tools/gold/README.txt<br>
><br>
> Modified: llvm/trunk/tools/gold/README.txt<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/README.txt?rev=196100&r1=196099&r2=196100&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/README.txt?rev=196100&r1=196099&r2=196100&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/tools/gold/README.txt (original)<br>
> +++ llvm/trunk/tools/gold/README.txt Mon Dec  2 08:17:47 2013<br>
> @@ -1,21 +1,13 @@<br>
> +The LLVM Gold LTO Plugin<br>
> +========================<br>
> +<br>
>  This directory contains a plugin that is designed to work with binutils<br>
>  gold linker. At present time, this is not the default linker in<br>
>  binutils, and the default build of gold does not support plugins.<br>
><br>
> -Obtaining binutils:<br>
> -<br>
> -  cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src login<br>
> -  {enter "anoncvs" as the password}<br>
> -  cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils<br>
> -<br>
> -This will create a src/ directory. Make a build/ directory and from<br>
> -there configure binutils with "../src/configure --enable-gold --enable-plugins".<br>
> -Then build binutils with "make all-gold".<br>
> +See docs/GoldPlugin.html for complete build and usage instructions.<br>
><br>
> -To build the LLVMgold plugin, configure LLVM with the option<br>
> ---with-binutils-include=/path/to/binutils/src/include/ --enable-pic. To use the<br>
> -plugin, run "ld-new --plugin /path/to/LLVMgold.so".<br>
> -Without PIC libLTO and LLVMgold are not being built (because they would fail<br>
> -link on x86-64 with a relocation error: PIC and non-PIC can't be combined).<br>
> +NOTE: libLTO and LLVMgold aren't built without PIC because they would fail<br>
> +to link on x86-64 with a relocation error: PIC and non-PIC can't be combined.<br>
>  As an alternative to passing --enable-pic, you can use 'make ENABLE_PIC=1' in<br>
>  your entire LLVM build.<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>