From: Eric Botcazou Date: Thu, 28 Oct 2021 13:51:14 +0000 (+0200) Subject: Update documentation of %X spec X-Git-Tag: releases/gcc-11.3.0~700 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4719d058452f3532b695540047d635c0742eb59d;p=thirdparty%2Fgcc.git 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 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 --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 2eb874a7176d..b8d080524d8d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -32340,8 +32340,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}.