Landing: 14de5bdd5f2e
Project / Subsystem
binutils / hppa64
Date
2026-05-14
Author
Alan Modra <amodra@sourceware.org>
Commit
14de5bdd5f2eecb1e4cb5ef038653cde5be0f127
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- hppa64
- patch_id
- —
- commit_hash
- 14de5bdd5f2eecb1e4cb5ef038653cde5be0f127
- source_type
- public_inbox
- headline
- HPPA64: Avoid creating dynamic section too late.
- tldr
- Fixes a bug in HPPA64 ELF handling where creating a dynamic section too late in the linking process could cause it not to be mapped to an output section.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bfd
- • hppa64
- • elf
- • linker
- • dynamic object
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-14T00:00:00.000Z
The HPPA64 backend in BFD had a bug where it would attempt to create the .opd section (used for procedure descriptors) too late in the linking process, specifically in elf64_hppa_mark_exported_functions and elf64_hppa_late_size_sections. This could cause the section not to be mapped to an output section, leading to issues when using linker-created dynamic objects. This commit avoids creating the section if it doesn’t exist and adjusts the checks to be more robust.