From 4719d058452f3532b695540047d635c0742eb59d Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 28 Oct 2021 15:51:14 +0200 Subject: [PATCH] Update documentation of %X spec MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit %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. --- 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 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}. -- 2.47.2