Landing: 3357ea1d3cbf
Project / Subsystem
binutils / bfd
Date
2026-08-14
Author
Jan Beulich <jbeulich@sourceware.org>
Commit
3357ea1d3cbf887eef7e4f478a9e7adc266dce2f
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- bfd
- patch_id
- —
- commit_hash
- 3357ea1d3cbf887eef7e4f478a9e7adc266dce2f
- source_type
- public_inbox
- headline
- bfd: Fix handling of debugging sections in relocation processing
- tldr
- Correctly processes debugging sections during relocation to ensure debug info integrity.
- author
- Jan Beulich <jbeulich@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bfd
- • linker
- • debug info
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-14T00:00:00.000Z
This commit corrects an issue in bfd_generic_get_relocated_section_contents where debugging sections were incorrectly excluded. Previously, a change intended to generalize section merging incorrectly filtered out SEC_DEBUGGING sections. This led to broken debug information in the resulting binaries, causing warnings with tools like objdump when inspecting debug info. The fix ensures these sections are handled appropriately, resolving testsuite fallout and preserving debug information.