]> 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:56:44 +0000 (15:56 +0200)
commit4719d058452f3532b695540047d635c0742eb59d
tree6c7e5b93b34763995c4f9b565091001c21fd0af8
parent3e2ccaab1fb9c9cab12a8fb42a5a0cf85e57117c
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