2011-03-18 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Mar 2011 14:33:45 +0000 (14:33 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Mar 2011 14:33:45 +0000 (14:33 +0000)
* doc/install.texi (--enable-gold): Remove.
(--with-plugin-ld): Document.
* doc/invoke.texi (-fuse-linker-plugin): Clarify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171143 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/install.texi
gcc/doc/invoke.texi

index cb69c8f..11fcfe7 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-18  Richard Guenther  <rguenther@suse.de>
+
+       * doc/install.texi (--enable-gold): Remove.
+       (--with-plugin-ld): Document.
+       * doc/invoke.texi (-fuse-linker-plugin): Clarify.
+
 2011-03-16  Andrew Pinski  <pinskia@gmail.com>
 
        PR middle-end/47790
index b953d72..1312203 100644 (file)
@@ -1666,13 +1666,12 @@ GLIBC 2.11 or above, otherwise disabled.
 Enable support for link-time optimization (LTO).  This is enabled by
 default, and may be disabled using @option{--disable-lto}.
 
-@item --enable-gold
-Enable support for using @command{gold} as the linker.  If gold support is
-enabled together with @option{--enable-lto}, an additional directory
-@file{lto-plugin} will be built.  The code in this directory is a
-plugin for gold that allows the link-time optimizer to extract object
-files with LTO information out of library archives.  See
-@option{-flto} and @option{-fwhopr} for details.
+@item --with-plugin-ld=@var{pathname}
+Enable an alternate linker to be used at link-time optimization (LTO)
+link time when @option{-fuse-linker-plugin} is enabled.
+This linker should have plugin support such as gold starting with
+version 2.20 or GNU ld starting with version 2.21.
+See @option{-fuse-linker-plugin} for details.
 @end table
 
 @subheading Cross-Compiler-Specific Options
index af2fe26..c0d3c43 100644 (file)
@@ -7718,8 +7718,8 @@ Disabled by default.
 
 @item -fuse-linker-plugin
 Enables the use of linker plugin during link time optimization.  This option
-relies on the linker plugin support in linker that is available in @code{gold}
-or in GNU ld 2.21.51 or newer..
+relies on the linker plugin support in linker that is available in gold
+or in GNU ld 2.21 or newer.
 
 This option enables the extraction of object files with GIMPLE bytecode out of
 library archives. This improves the quality of optimization by exposing more
@@ -7730,7 +7730,7 @@ use hidden visibility) is similar to @code{-fwhole-program}.  See
 @option{-flto} for a description on the effect of this flag and how to use it.
 
 Enabled by default when LTO support in GCC is enabled and GCC was compiled
-with linker supporting plugins (GNU ld or @code{gold}).
+with a linker supporting plugins (GNU ld 2.21 or newer or gold).
 
 @item -fcompare-elim
 @opindex fcompare-elim