various tidies to use a linker created dynobj

Project / Subsystem

binutils / binutils

Date

2026-05-11

Proposer

Alan Modra <amodra@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • The main tradeoff is the potential for regressions when modifying core components of the linker.
  • The benefits are improved code clarity, reduced redundancy, and better handling of dynamic linking

All attributes

project
binutils
subsystem
binutils
patch_id
discussion_id
cover.1778457849.git.amodra@gmail.com
source_type
public_inbox
title
various tidies to use a linker created dynobj
headline
Tidies for using a linker-created dynobj in binutils.
tldr
Alan Modra proposes a series of tidy-up patches to prepare for using a linker-created bfd for dynamic sections in ELF linkers.
proposer
Alan Modra <amodra@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • The main tradeoff is the potential for regressions when modifying core components of the linker.
  • The benefits are improved code clarity, reduced redundancy, and better handling of dynamic linking
series_id
1778457849.git.amodra@gmail.com
series_role
cover
series_parts
[]
tags
  • binutils
  • linker
  • elf
  • bfd
  • dynobj
bugzilla_url
date
2026-05-11T00:00:00.000Z

various tidies to use a linker created dynobj

Alan Modra proposes a series of patches to tidy up the binutils code in preparation for a larger change to use a linker-created BFD (Back-End File Descriptor) for attaching dynamic sections in ELF linkers. These cleanups address issues in ARM, CRIS, FRV, LM32, Alpha and HPPA64 targets.