[llvm-commits] [llvm] r110552 - in /llvm/trunk: docs/GoldPlugin.html tools/gold/README.txt

Rafael Espindola rafael.espindola at gmail.com
Sun Aug 8 14:14:26 PDT 2010


Author: rafael
Date: Sun Aug  8 16:14:26 2010
New Revision: 110552

URL: http://llvm.org/viewvc/llvm-project?rev=110552&view=rev
Log:
s/libLLVMgold/LLVMgold/g

Modified:
    llvm/trunk/docs/GoldPlugin.html
    llvm/trunk/tools/gold/README.txt

Modified: llvm/trunk/docs/GoldPlugin.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GoldPlugin.html?rev=110552&r1=110551&r2=110552&view=diff
==============================================================================
--- llvm/trunk/docs/GoldPlugin.html (original)
+++ llvm/trunk/docs/GoldPlugin.html Sun Aug  8 16:14:26 2010
@@ -79,7 +79,7 @@
   the plugin <tt>.so</tt> file. To find out what link command <tt>gcc</tt>
   would run in a given situation, run <tt>gcc -v <em>[...]</em></tt> and look
   for the line where it runs <tt>collect2</tt>. Replace that with
-  <tt>ld-new -plugin /path/to/libLLVMgold.so</tt> to test it out. Once you're
+  <tt>ld-new -plugin /path/to/LLVMgold.so</tt> to test it out. Once you're
   ready to switch to using gold, backup your existing <tt>/usr/bin/ld</tt>
   then replace it with <tt>ld-new</tt>.</p>
   <p>You can produce bitcode files from <tt>llvm-gcc</tt> using
@@ -91,7 +91,7 @@
   linker, which is why you need gold to be the installed system linker in your
   path.</p>
   <p>If you want <tt>ar</tt> and <tt>nm</tt> to work seamlessly as well, install
-  <tt>libLLVMgold.so</tt> to <tt>/usr/lib/bfd-plugins</tt>. If you built your
+  <tt>LLVMgold.so</tt> to <tt>/usr/lib/bfd-plugins</tt>. If you built your
   own gold, be sure to install the <tt>ar</tt> and <tt>nm-new</tt> you built to
   <tt>/usr/bin</tt>.
   <p>
@@ -157,9 +157,9 @@
   bitcode, everything is in place for an easy to use LTO build of autotooled
   projects:</p>
   <ul>
-    <li>Follow the instructions <a href="#build">on how to build libLLVMgold.so</a>.</li>
+    <li>Follow the instructions <a href="#build">on how to build LLVMgold.so</a>.</li>
     <li>Install the newly built binutils to <tt>$PREFIX</tt></li>
-    <li>Copy <tt>Release/lib/libLLVMgold.so</tt> to
+    <li>Copy <tt>Release/lib/LLVMgold.so</tt> to
     <tt>$PREFIX/libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/</tt> and
     <tt>$PREFIX/lib/bfd-plugins/</tt></li>
     <li>Set environment variables (<tt>$PREFIX</tt> is where you installed llvm-gcc and

Modified: llvm/trunk/tools/gold/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/README.txt?rev=110552&r1=110551&r2=110552&view=diff
==============================================================================
--- llvm/trunk/tools/gold/README.txt (original)
+++ llvm/trunk/tools/gold/README.txt Sun Aug  8 16:14:26 2010
@@ -14,8 +14,8 @@
 
 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/libLLVMgold.so".
-Without PIC libLTO and libLLVMgold are not being built (because they would fail
+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).
 As an alternative to passing --enable-pic, you can use 'make ENABLE_PIC=1' in
 your entire LLVM build.





More information about the llvm-commits mailing list