[llvm] r196100 - Cut the gold plugin README down to size

Bill Wendling isanbard at gmail.com
Mon Dec 2 11:24:45 PST 2013


Cool. Done!


On Mon, Dec 2, 2013 at 7:42 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> Thanks!
>
> Bill, this is also good for 3.4.
>
> On 2 December 2013 09:17, Alp Toker <alp at nuanti.com> wrote:
> > Author: alp
> > Date: Mon Dec  2 08:17:47 2013
> > New Revision: 196100
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=196100&view=rev
> > Log:
> > Cut the gold plugin README down to size
> >
> > This file hasn't been updated in years. Remove old information and point
> to
> > the current documentation at GoldPlugin.rst.
> >
> > Modified:
> >     llvm/trunk/tools/gold/README.txt
> >
> > Modified: llvm/trunk/tools/gold/README.txt
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/README.txt?rev=196100&r1=196099&r2=196100&view=diff
> >
> ==============================================================================
> > --- llvm/trunk/tools/gold/README.txt (original)
> > +++ llvm/trunk/tools/gold/README.txt Mon Dec  2 08:17:47 2013
> > @@ -1,21 +1,13 @@
> > +The LLVM Gold LTO Plugin
> > +========================
> > +
> >  This directory contains a plugin that is designed to work with binutils
> >  gold linker. At present time, this is not the default linker in
> >  binutils, and the default build of gold does not support plugins.
> >
> > -Obtaining binutils:
> > -
> > -  cvs -z 9 -d :pserver:anoncvs at sourceware.org:/cvs/src login
> > -  {enter "anoncvs" as the password}
> > -  cvs -z 9 -d :pserver:anoncvs at sourceware.org:/cvs/src co binutils
> > -
> > -This will create a src/ directory. Make a build/ directory and from
> > -there configure binutils with "../src/configure --enable-gold
> --enable-plugins".
> > -Then build binutils with "make all-gold".
> > +See docs/GoldPlugin.html for complete build and usage instructions.
> >
> > -To build the LLVMgold plugin, configure LLVM with the option
> > ---with-binutils-include=/path/to/binutils/src/include/ --enable-pic. To
> use the
> > -plugin, run "ld-new --plugin /path/to/LLVMgold.so".
> > -Without PIC libLTO and LLVMgold are not being built (because they would
> fail
> > -link on x86-64 with a relocation error: PIC and non-PIC can't be
> combined).
> > +NOTE: libLTO and LLVMgold aren't built without PIC because they would
> fail
> > +to link on x86-64 with a relocation error: PIC and non-PIC can't be
> combined.
> >  As an alternative to passing --enable-pic, you can use 'make
> ENABLE_PIC=1' in
> >  your entire LLVM build.
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131202/1ad663b3/attachment.html>


More information about the llvm-commits mailing list