Lines Matching refs:gold
2 The LLVM gold plugin
10 `gold linker`_ which supports LTO via plugins. This is the same mechanism
13 The LLVM gold plugin implements the gold plugin interface on top of
17 .. _`gold linker`: http://sourceware.org/binutils
19 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver
26 You need to have gold with plugin support and build the LLVMgold plugin.
27 Check whether you have gold running ``/usr/bin/ld -v``. It will report "GNU
28 gold" or else "GNU ld" if not. If you have gold, check for plugin support
31 will either need to build gold or install a version with plugin support.
33 * Download, configure and build gold with plugin support:
40 $ ../binutils/configure --enable-gold --enable-plugins --disable-werror
41 $ make all-gold
43 That should leave you with ``build/gold/ld-new`` which supports
59 ready to switch to using gold, backup your existing ``/usr/bin/ld``
63 ``-flto``. This flag will also cause ``clang`` to look for the gold plugin in
66 gold to be the installed system linker in your path.
70 If you built your own gold, be sure to install the ``ar`` and ``nm-new`` you
77 The following example shows a worked example of the gold plugin mixing LLVM
123 example <libLTO-example>` gold does not currently eliminate foo4.
170 ``plugin-api.h`` from gold which means that the resulting ``LLVMgold.so``
172 just as much as gold could without the plugin.