aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-07 16:54:33 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-01-07 08:54:33 -0800
commitb352afbab2dcdf3b48b08e377f48d17109297c46 (patch)
treed17099fbf4e98c921dd5658c212ee89229e8ade3 /gcc/doc
parentf3b503f4a16e5279050524b6ab93a1d9483078ad (diff)
downloadgcc-b352afbab2dcdf3b48b08e377f48d17109297c46.zip
gcc-b352afbab2dcdf3b48b08e377f48d17109297c46.tar.gz
gcc-b352afbab2dcdf3b48b08e377f48d17109297c46.tar.bz2
Support -fuse-ld=bfd and -fuse-ld=gold
PR driver/55470 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. * common.opt: Add fuse-ld=bfd and fuse-ld=gold. * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. Co-Authored-By: Doug Kwan <dougkwan@google.com> Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> Co-Authored-By: Matthias Klose <doko@debian.org> From-SVN: r194983
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 06ba770..df53766 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -425,7 +425,7 @@ Objective-C and Objective-C++ Dialects}.
-funit-at-a-time -funroll-all-loops -funroll-loops @gol
-funsafe-loop-optimizations -funsafe-math-optimizations -funswitch-loops @gol
-fvariable-expansion-in-unroller -fvect-cost-model -fvpt -fweb @gol
--fwhole-program -fwpa -fuse-linker-plugin @gol
+-fwhole-program -fwpa -fuse-ld=@var{linker} -fuse-linker-plugin @gol
--param @var{name}=@var{value}
-O -O0 -O1 -O2 -O3 -Os -Ofast -Og}
@@ -8409,6 +8409,12 @@ the comparison operation before register allocation is complete.
Enabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}.
+@item -fuse-ld=bfd
+Use the @command{bfd} linker instead of the default linker.
+
+@item -fuse-ld=gold
+Use the @command{gold} linker instead of the default linker.
+
@item -fcprop-registers
@opindex fcprop-registers
After register allocation and post-register allocation instruction splitting,