From: Richard Guenther Date: Fri, 18 Mar 2011 14:33:45 +0000 (+0000) Subject: install.texi (--enable-gold): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09a52fc3aecb7091b44ea0a6e0265a87415ed522;p=gcc.git install.texi (--enable-gold): Remove. 2011-03-18 Richard Guenther * doc/install.texi (--enable-gold): Remove. (--with-plugin-ld): Document. * doc/invoke.texi (-fuse-linker-plugin): Clarify. From-SVN: r171143 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb69c8f5f20..11fcfe7f171 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-03-18 Richard Guenther + + * doc/install.texi (--enable-gold): Remove. + (--with-plugin-ld): Document. + * doc/invoke.texi (-fuse-linker-plugin): Clarify. + 2011-03-16 Andrew Pinski PR middle-end/47790 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index b953d7283cf..1312203dc5d 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 af2fe263389..c0d3c439861 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