aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-03-18 14:33:45 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-03-18 14:33:45 +0000
commit09a52fc3aecb7091b44ea0a6e0265a87415ed522 (patch)
treef99b347e5be1742dcd7cea3428174e73c01ff082
parent4c5e955d4efd8bb7b8a8239e21a8d6c2444f1a64 (diff)
downloadgcc-09a52fc3aecb7091b44ea0a6e0265a87415ed522.zip
gcc-09a52fc3aecb7091b44ea0a6e0265a87415ed522.tar.gz
gcc-09a52fc3aecb7091b44ea0a6e0265a87415ed522.tar.bz2
install.texi (--enable-gold): Remove.
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. From-SVN: r171143
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/install.texi13
-rw-r--r--gcc/doc/invoke.texi6
3 files changed, 15 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb69c8f..11fcfe7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index b953d72..1312203 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index af2fe26..c0d3c43 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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