From ce2c3163d2a136471d5f581893a93f869428cd98 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 14 Jan 2015 18:09:03 -0500 Subject: [PATCH] invoke.texi (Option Summary): Reclassify -fuse-ld as a linker option. 2015-01-14 Sandra Loosemore gcc/ * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker option. (Optimization Options): Move -fuse-ld documentation to... (Link Options): ...here. From-SVN: r219622 --- gcc/ChangeLog | 7 +++++++ gcc/doc/invoke.texi | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 50713d15e82..81a5583e447 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-01-14 Sandra Loosemore + + * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker + option. + (Optimization Options): Move -fuse-ld documentation to... + (Link Options): ...here. + 2015-01-14 Matthew Fortune * config/mips/constraints.md (ZC): Add support for R6 LL/SC diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index dcd2bd973f5..748c70a158c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -446,7 +446,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 -fipa-ra -fvariable-expansion-in-unroller -fvect-cost-model -fvpt @gol --fweb -fwhole-program -fwpa -fuse-ld=@var{linker} -fuse-linker-plugin @gol +-fweb -fwhole-program -fwpa -fuse-linker-plugin @gol --param @var{name}=@var{value} -O -O0 -O1 -O2 -O3 -Os -Ofast -Og} @@ -472,7 +472,7 @@ Objective-C and Objective-C++ Dialects}. @item Linker Options @xref{Link Options,,Options for Linking}. -@gccoptlist{@var{object-file-name} -l@var{library} @gol +@gccoptlist{@var{object-file-name} -fuse-ld=@var{linker} -l@var{library} @gol -nostartfiles -nodefaultlibs -nostdlib -pie -rdynamic @gol -s -static -static-libgcc -static-libstdc++ @gol -static-libasan -static-libtsan -static-liblsan -static-libubsan @gol @@ -9338,14 +9338,6 @@ the comparison operation before register allocation is complete. Enabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}. -@item -fuse-ld=bfd -@opindex fuse-ld=bfd -Use the @command{bfd} linker instead of the default linker. - -@item -fuse-ld=gold -@opindex 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, @@ -10889,6 +10881,14 @@ If any of these options is used, then the linker is not run, and object file names should not be used as arguments. @xref{Overall Options}. +@item -fuse-ld=bfd +@opindex fuse-ld=bfd +Use the @command{bfd} linker instead of the default linker. + +@item -fuse-ld=gold +@opindex fuse-ld=gold +Use the @command{gold} linker instead of the default linker. + @cindex Libraries @item -l@var{library} @itemx -l @var{library} -- 2.30.2