aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-01-14 18:09:03 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2015-01-14 18:09:03 -0500
commitce2c3163d2a136471d5f581893a93f869428cd98 (patch)
tree9080a416851d21518dfe8b71a25c6fddbb04c59f
parent36b218ee8f31c868d1370df090a9ddc0594b1ba0 (diff)
downloadgcc-ce2c3163d2a136471d5f581893a93f869428cd98.zip
gcc-ce2c3163d2a136471d5f581893a93f869428cd98.tar.gz
gcc-ce2c3163d2a136471d5f581893a93f869428cd98.tar.bz2
invoke.texi (Option Summary): Reclassify -fuse-ld as a linker option.
2015-01-14 Sandra Loosemore <sandra@codesourcery.com> 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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/doc/invoke.texi20
2 files changed, 17 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 50713d1..81a5583 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
+
+ * 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 <matthew.fortune@imgtec.com>
* config/mips/constraints.md (ZC): Add support for R6 LL/SC
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index dcd2bd9..748c70a 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}