Landing: 5a4614a81abd

Project / Subsystem

binutils / binutils

Date

2026-05-01

Author

Alan Modra <amodra@sourceware.org>

Commit

5a4614a81abd040f0ce21089104997bd9dd098f0

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils
patch_id
commit_hash
5a4614a81abd040f0ce21089104997bd9dd098f0
source_type
public_inbox
headline
Ld: Remove obsolete flag check_relocs_after_open_input.
tldr
Removes the `check_relocs_after_open_input` flag, as it's no longer needed after commit 5c3261b0e834.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • linker
  • relocation
  • refactor
  • binutils
discussion_id_link
bugzilla_pr
date
2026-05-01T00:00:00.000Z

The check_relocs_after_open_input flag in the linker’s bfd_link_info struct is no longer necessary after commit 5c3261b0e834. This commit removes the flag and cleans up the code that used it in several linker emulation templates and in ldlang.c. This simplifies the linker’s internal state and removes dead code.