Landing: b04b71c9f4bb

Project / Subsystem

binutils / bfd

Date

2026-08-17

Author

Alan Modra <amodra@sourceware.org>

Commit

b04b71c9f4bba70c79f7f52793d2c09640648515

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
—
commit_hash
b04b71c9f4bba70c79f7f52793d2c09640648515
source_type
public_inbox
headline
Binutils stub bfd preparation for dynamic object use
tldr
Prepares linker stub BFds for use as dynamic objects by fixing section handling and EI_CLASS settings.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • binutils
  • • bfd
  • • linker
  • • ELF
discussion_id_link
—
bugzilla_pr
—
date
2026-08-17T00:00:00.000Z

This change prepares the linker’s stub BFDs to be correctly used as dynamic objects. It adjusts how sections are identified (using SEC_LINKER_CREATED instead of relying on section names or stub status) and ensures the EI_CLASS is set appropriately for ELF linking, improving compatibility with targets like Arm and AArch64.