diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-03-01 18:48:53 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-03-01 18:48:53 +0000 |
commit | 050147cb707efee8f7747e6ff4f935d95929bee3 (patch) | |
tree | ecc90bdc620131d4754c4254243c8bf537a610a2 /docs | |
parent | f795ef0cd4b19aeb9b527c94c99763ae717035ba (diff) | |
download | external_llvm-050147cb707efee8f7747e6ff4f935d95929bee3.zip external_llvm-050147cb707efee8f7747e6ff4f935d95929bee3.tar.gz external_llvm-050147cb707efee8f7747e6ff4f935d95929bee3.tar.bz2 |
Don't forget the important part. llvm-gcc -use-gold-plugin passes the right
options to gold.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/GoldPlugin.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html index bc871bd..9146d39 100644 --- a/docs/GoldPlugin.html +++ b/docs/GoldPlugin.html @@ -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> |