bfd: SEC_DEBUGGING in bfd_generic_get_relocated_section_contents()
Project / Subsystem
binutils / bfd
Date
2026-07-31
Proposer
Jan Beulich <jbeulich@suse.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Reintroduces handling for debugging sections, which may require careful validation to avoid new issues.
- • Addresses testsuite fallout and warnings from objdump.
All attributes
- project
- binutils
- subsystem
- bfd
- patch_id
- —
- discussion_id
- ffa348aa-ecc1-4a3f-997a-c3e14478d013@suse.com
- source_type
- public_inbox
- title
- bfd: SEC_DEBUGGING in bfd_generic_get_relocated_section_contents()
- headline
- bfd: SEC_DEBUGGING in bfd_generic_get_relocated_section_contents()
- tldr
- Fixes binutils BFD to correctly handle debugging sections during relocation processing.
- proposer
- Jan Beulich <jbeulich@suse.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Reintroduces handling for debugging sections, which may require careful validation to avoid new issues.
- • Addresses testsuite fallout and warnings from objdump.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • bugfix
- • linker
- • debuginfo
- bugzilla_url
- —
- date
- 2026-07-31T00:00:00.000Z
bfd: SEC_DEBUGGING in bfd_generic_get_relocated_section_contents()
This patch corrects a regression in binutils’ BFD library where debugging sections were incorrectly excluded during relocation processing. The exclusion, introduced in a previous change, led to broken debug info and testsuite failures. The fix ensures these sections are handled appropriately, resolving issues that became more apparent with recent readelf/objdump improvements.