config: Sync from GCC
Updates binutils configuration files by syncing recent changes from GCC's repository.
This commit brings several updates to binutils’ configuration system by synchronizing changes from GCC. Notable updates include syncing ax_check_define.m4 from the autoconf-archive, adding -ffat-lto-objects for mingw targets in bootstrap-lto-lean.mk, and updating AC_PROG_LD to LT_PATH_LD in hwcaps.m4. These changes ensure binutils’ build environment remains current with related projects and addresses specific build-related issues.
- proposer
Commits updates to binutils' configuration files by syncing multiple changes from GCC, including autoconf macros and LTO-related flags.
“Sync the following changes from GCC and regenerate all autoconf files. commit 3d61ec632f9292fb7642865d8b588bb82d51d466 Author: Sam James <sam@gentoo.org> Date: Sun Oct 11 20:15:54 2026 +0100 config: sync ax_check_define.m4 from autoconf-archive config/ChangeLog: * ax_check_define.m4: Update to serial 12. commit 9d3338579f6448dcffa6f0b818c45374f925f3d5 Author: Zhongteng Gui <dr…”
In Details
This commit integrates several updates from GCC's configuration system into binutils. It synchronizes ax_check_define.m4 to its latest version from the autoconf-archive, updates build flags for mingw targets related to LTO (-ffat-lto-objects), and modifies hwcaps.m4 to use LT_PATH_LD instead of AC_PROG_LD. These are routine maintenance actions for build system components shared between GCC and binutils.
- LTO
- Link Time Optimization. A compiler optimization technique that allows optimizations to be performed across multiple translation units during the linking phase, potentially leading to significant performance improvements.
- mingw
- Minimalist GNU for Windows. A development environment and set of tools that allow the creation of native Windows applications using the GNU Compiler Collection.
- autoconf-archive
- A repository of useful Autoconf macros that are not part of the standard Autoconf distribution, providing reusable snippets for common build system tasks.
- AC_PROG_LD
- An Autoconf macro used to find the system's linker. It is often superseded by other macros depending on the specific requirements.
- LT_PATH_LD
- A macro used in build systems, often related to libtool, to determine the path to the linker.
- build system
- The collection of tools and processes used to transform source code into executable programs or libraries. This includes compilers, linkers, and build automation tools like Make or Autoconf.