[gcc r9-9904] Update documentation of %X spec
Eric Botcazou
ebotcazou@gcc.gnu.org
Mon Jan 10 16:07:17 GMT 2022
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}.
More information about the Gcc-cvs
mailing list