Landing: 548951122bce

Project / Subsystem

binutils / bfd

Date

2026-08-14

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

548951122bceee5a1b765c9ed8da412518522b5f

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
—
commit_hash
548951122bceee5a1b765c9ed8da412518522b5f
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.