Tweak this a bit.

llvm-svn: 65772
This commit is contained in:
Duncan Sands 2009-03-01 15:19:03 +00:00
parent ef821b5fbe
commit 3d23bb03c1
1 changed files with 7 additions and 7 deletions

View File

@ -20,15 +20,15 @@
<div class="doc_section"><a name="introduction">Introduction</a></div> <div class="doc_section"><a name="introduction">Introduction</a></div>
<!--=========================================================================--> <!--=========================================================================-->
<div class="doc_text"> <div class="doc_text">
<p>Building with link time optimization requires cooperation with the <p>Building with link time optimization requires cooperation from the
system linker. LTO support on Linux systems requires that you use system linker. LTO support on Linux systems requires that you use
<a href="http://sourceware.org/binutils">gold</a> which supports for the <a href="http://sourceware.org/binutils">gold linker</a> which supports
LTO via plugins. This is the same system used by the upcoming LTO via plugins. This is the same system used by the upcoming
<a href="http://gcc.gnu.org/wiki/LinkTimeOptimization">GCC LTO</a> <a href="http://gcc.gnu.org/wiki/LinkTimeOptimization">GCC LTO</a>
support.</p> project.</p>
<p>The LLVMgold plugin implements the gold <p>The LLVM gold plugin implements the
<a href="http://gcc.gnu.org/wiki/whopr/driver">plugin interface</a> on <a href="http://gcc.gnu.org/wiki/whopr/driver">gold plugin interface</a>
top of on top of
<a href="http://llvm.org/docs/LinkTimeOptimization.html#lto">libLTO</a>. <a href="http://llvm.org/docs/LinkTimeOptimization.html#lto">libLTO</a>.
The same plugin can also be used by other tools such as <tt>ar</tt> and The same plugin can also be used by other tools such as <tt>ar</tt> and
<tt>nm</tt>. <tt>nm</tt>.
@ -55,7 +55,7 @@ make all-gold
That should leave you with binutils/build/gold/ld-new which supports the That should leave you with binutils/build/gold/ld-new which supports the
-plugin option. -plugin option.
<li>Build LLVMgold. Configure LLVM with <li>Build the LLVMgold plugin: Configure LLVM with
<tt>--with-binutils-include=/path/to/binutils/src/include</tt> and run <tt>--with-binutils-include=/path/to/binutils/src/include</tt> and run
<tt>make</tt>. <tt>make</tt>.
</ul> </ul>