binutils Newspaper
NOVEMBER 30, 2026
include — Proposed

include: sync with GCC

Binutils include directory synchronized with GCC, incorporating updates from several GCC commits.

This patch synchronizes the include/ directory of binutils with that of GCC. It pulls in changes from multiple GCC commits, including updates to libiberty, macro parameter handling, typo fixes, and architecture-specific code for LoongArch and RISC-V. The author notes that this patch is being sent for testing before direct commitment.

In Details

This patch updates the common header files in binutils' include/ directory to match those in GCC's include/ directory. This synchronization ensures that binutils uses the same definitions and declarations for various internal functions and macros as GCC, which is important for build system consistency and avoiding subtle incompatibilities. The updates span across various components and architectures, reflecting recent developments in GCC's header files.

For Context
libiberty
A collection of utility routines used by GCC and GNU Binutils, providing common functions like string manipulation and memory allocation.
LoongArch
A RISC-V-like instruction set architecture developed in China.
RISC-V
An open-source instruction set architecture (ISA) that is modular and extensible.
CTF
Compact Type Format, a debugging data format used to describe type information.
header files
Files in C/C++ that contain declarations of functions, variables, and macros, typically included using the #include directive.
Filed Under: binutilsgccincludesynchronizationheaders