diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-10-05 20:50:05 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-10-05 20:50:05 +0000 |
commit | 038c43be0be3d5582cecee0cf283a486d6dfe180 (patch) | |
tree | ea199043573ae42514179e8e6991cc306a78d44f /docs/GoldPlugin.rst | |
parent | a4b5050cf5af18ac18565073fecbfcb95f93556b (diff) |
GoldPlugin.rst: minor typesetting fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GoldPlugin.rst')
-rw-r--r-- | docs/GoldPlugin.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/GoldPlugin.rst b/docs/GoldPlugin.rst index 8e4713e433..300aea9f9a 100644 --- a/docs/GoldPlugin.rst +++ b/docs/GoldPlugin.rst @@ -76,11 +76,11 @@ You can produce bitcode files from ``clang`` using ``-emit-llvm`` or Any of these flags will also cause ``clang`` to look for the gold plugin in the ``lib`` directory under its prefix and pass the ``-plugin`` 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.`` +gold to be the installed system linker in your path. If you want ``ar`` and ``nm`` to work seamlessly as well, install ``LLVMgold.so`` to ``/usr/lib/bfd-plugins``. If you built your own gold, be -sure to install the ``ar`` and ``nm-new`` you built to ``/usr/bin`` +sure to install the ``ar`` and ``nm-new`` you built to ``/usr/bin``. Example of link time optimization @@ -181,6 +181,6 @@ Licensing ========= Gold is licensed under the GPLv3. LLVMgold uses the interface file -``plugin-api.h`` from gold which means that the resulting LLVMgold.so +``plugin-api.h`` from gold which means that the resulting ``LLVMgold.so`` binary is also GPLv3. This can still be used to link non-GPLv3 programs just as much as gold could without the plugin. |