Use stub bfd for dynobj

Project / Subsystem

binutils / binutils

Date

2026-08-06

Proposer

Alan Modra

Source type

public_inbox

Consensus

Proposed

Sentiment

7/10

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
20260806042109.536514-1-amodra@gmail.com
source_type
public_inbox
title
Use stub bfd for dynobj
headline
Use stub bfd for dynobj
tldr
A series of patches refactors binutils' dynamic object handling, introducing a stub BFD for dynobj and improving various ELF linking routines.
proposer
Alan Modra
consensus
Proposed
outcome
proposed
sentiment_score
7
technical_tradeoffs
[]
series_id
20260806042109.536514-1-amodra@gmail.com
series_role
cover
series_parts
[]
tags
  • • linker
  • • ELF
  • • refactoring
bugzilla_url
—
date
2026-08-06T00:00:00.000Z

Use stub bfd for dynobj

This patch series, a follow-up to a previous discussion, aims to refactor binutils’ handling of dynamic objects. It introduces a stub BFD intended for use as a dynamic object and makes several improvements to ELF linking, including input object compatibility checks, splitting functions for clarity, and adding sanity checks for dynamic relocation sections. The changes touch upon numerous architecture-specific ELF BFD implementations.