[PATCH 6/6] build: Remove --with-gnu-ld
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Wed Apr 29 14:06:01 GMT 2026
Like the gas case, after the removal of HAVE_GNU_LD and the gnu_ld
variable, the --with-gnu-ld option has become unnecessary, too, so this
patch removes it together with the gnu_ld_flag variable.
Given that the vast majority of configurations use GNU ld or a
compatible linker, the GNU ld annotation to the DEFAULT_LINKER configure
message carries little additional information and is also removed.
Ok for trunk?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2026-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc:
* configure.ac: Remove --with-gnu-ld, gnu_ld_flag.
* configure: Regenerate.
* config.gcc: Remove gnu_ld_flag.
* doc/install.texi (Configuration, --with-gnu-ld): Remove.
(Specific, all ELF targets (SVR4, Solaris, etc.): Remove GNU ld
link.
* doc/invoke.texi (IA-64 Options, -mgnu-ld): Remove comment.
contrib:
* config-list.mk (sparc64-sun-solaris2.11): Remove --with-gnu-ld.
* regression/btest-gcc.sh (withopt): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-no-with-gnu-ld.patch
Type: text/x-patch
Size: 7053 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20260429/4d4ce44c/attachment.bin>
More information about the Gcc-patches
mailing list