binutils Newspaper
OCTOBER 6, 2026
ld — Proposed

ld: avoid install ldscripts/stamp

Fixes ld Makefile to correctly exclude 'ldscripts/stamp' from installation.

This patch corrects an issue in the ld linker’s Makefile, ensuring that ‘ldscripts/stamp’ is properly excluded from being installed. This rectifies a mistake in a previous commit that failed to implement this exclusion, preventing unintended files from being included in the build output.

In Details

This patch addresses an installation issue within the GNU linker (ld) component of binutils. Specifically, it corrects a Makefile configuration that erroneously included a file named 'stamp' within the 'ldscripts' directory during the installation process. The fix ensures that this file is now correctly excluded, adhering to the intended installation scope.

For Context
ld
The GNU linker, responsible for combining object files and libraries into an executable or library.
ldscripts
Directory containing linker scripts, which are configuration files that control how the linker combines input sections into output sections.
Makefile
A file containing build instructions for the make utility, automating the compilation and installation process.
install
The process of copying built files from the build directory to their final destination on the system.
Filed Under: binutilsldbuildmakefile