OSDN Git Service

Don't forget the important part. llvm-gcc -use-gold-plugin passes the right
authorNick Lewycky <nicholas@mxc.ca>
Sun, 1 Mar 2009 18:48:53 +0000 (18:48 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 1 Mar 2009 18:48:53 +0000 (18:48 +0000)
options to gold.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65783 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GoldPlugin.html

index bc871bd..9146d39 100644 (file)
@@ -75,9 +75,10 @@ make all-gold
   <tt>-emit-llvm</tt> or <tt>-flto</tt> or <tt>-O4</tt> which is equivalent
   to <tt>-O3 -flto</tt>.</p>
   <p><tt>llvm-gcc</tt> has a <tt>-use-gold-plugin</tt> option which looks
-  for the gold plugin in the same directories as it looks for <tt>cc1</tt>.
-  It will not look for an alternate linker, which is why you need gold to be
-  the installed system linker in your path.</p>
+  for the gold plugin in the same directories as it looks for <tt>cc1</tt> and
+  passes the <tt>-plugin</tt> option to ld. It will not look for an alternate
+  linker, which is why you need gold to be the installed system linker in your
+  path.</p>
 </div>
 <!--=========================================================================-->
 <div class="doc_section"><a name="licensing">Licensing</a></div>