public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r9-9904] Update documentation of %X spec
Date: Mon, 10 Jan 2022 16:07:17 +0000 (GMT)	[thread overview]
Message-ID: <20220110160717.EAFEB385840E@sourceware.org> (raw)

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}.


                 reply	other threads:[~2022-01-10 16:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220110160717.EAFEB385840E@sourceware.org \
    --to=ebotcazou@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).