]> git.ipfire.org Git - thirdparty/gcc.git/commit
Update documentation of %X spec
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 28 Oct 2021 13:51:14 +0000 (15:51 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 28 Oct 2021 13:55:05 +0000 (15:55 +0200)
commit60861d87946c84a1eb90e21d6acb55a7289450e0
treeb3b9408d8362d779dd1708b8e53b5d10cd67b1a4
parent81342e95827f77c0917dd7a9fd54ac9729439c8e
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.
gcc/doc/invoke.texi