public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-9904] Update documentation of %X spec
@ 2022-01-10 16:07 Eric Botcazou
0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2022-01-10 16:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:55302883448ddfdb64a0261e99a6064f85b2d109
commit r9-9904-g55302883448ddfdb64a0261e99a6064f85b2d109
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Thu Oct 28 15:51:14 2021 +0200
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.
Diff:
---
gcc/doc/invoke.texi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 3f0c8715c7a..f61f8c541e0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -29401,8 +29401,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}.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-10 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 16:07 [gcc r9-9904] Update documentation of %X spec Eric Botcazou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).