Remove check_relocs_after_open_input
Project / Subsystem
binutils / binutils
Date
2026-05-01
Proposer
Alan Modra <amodra@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Simplifies the codebase by removing an unused flag.
- • No functional change, as the flag was already unused.
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- discussion_id
- afSgoPLa-UtUb1_j@squeak.grove.modra.org
- source_type
- public_inbox
- title
- Remove check_relocs_after_open_input
- headline
- Remove check_relocs_after_open_input
- tldr
- Removes the `check_relocs_after_open_input` flag and related code, as it's no longer needed after commit 5c3261b0e834.
- proposer
- Alan Modra <amodra@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Simplifies the codebase by removing an unused flag.
- • No functional change, as the flag was already unused.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • linker
- • relocation
- • code removal
- • cleanup
- bugzilla_url
- —
- date
- 2026-05-01T00:00:00.000Z
Remove check_relocs_after_open_input
Alan Modra proposes removing the check_relocs_after_open_input flag from the binutils linker, along with associated code. This flag became obsolete after commit 5c3261b0e834. The patch removes the flag from the bfd_link_info structure and cleans up code in several linker emulation templates.