aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-10-28 15:51:14 +0200
committerEric Botcazou <ebotcazou@adacore.com>2021-10-28 15:55:05 +0200
commit60861d87946c84a1eb90e21d6acb55a7289450e0 (patch)
treeb3b9408d8362d779dd1708b8e53b5d10cd67b1a4 /gcc
parent81342e95827f77c0917dd7a9fd54ac9729439c8e (diff)
downloadgcc-60861d87946c84a1eb90e21d6acb55a7289450e0.zip
gcc-60861d87946c84a1eb90e21d6acb55a7289450e0.tar.gz
gcc-60861d87946c84a1eb90e21d6acb55a7289450e0.tar.bz2
Update documentation of %X spec
%X Output the accumulated linker options specified by -Wl or a ‘%x’ spec string The part about -Wl has been obsolete for 27 years, since this change: Author: Torbjorn Granlund <tege@gnu.org> Date: Thu Oct 27 18:04:25 1994 +0000 (process_command): Handle -Wl, and -Xlinker similar to -l, i.e., preserve their order with respect to linker input files. Technically speaking, the arguments of -l, -Wl and -Xlinker are input files. gcc/ * doc/invoke.texi (%X): Remove obsolete reference to -Wl.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b28ef7e..bdf831e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -32856,8 +32856,7 @@ Substitute the contents of spec string @var{name} at this point.
Accumulate an option for @samp{%X}.
@item %X
-Output the accumulated linker options specified by @option{-Wl} or a @samp{%x}
-spec string.
+Output the accumulated linker options specified by a @samp{%x} spec string.
@item %Y
Output the accumulated assembler options specified by @option{-Wa}.