Landing: f55053f1dc94

Project / Subsystem

binutils / microblaze

Date

2026-08-28

Author

Alan Modra <amodra@sourceware.org>

Commit

f55053f1dc94121bcd8a5faedc9e2f8d41d692e1

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
microblaze
patch_id
—
commit_hash
f55053f1dc94121bcd8a5faedc9e2f8d41d692e1
source_type
public_inbox
headline
microblaze: Fix relocations against discarded sections
tldr
Corrects microblaze relocations against discarded sections, preventing garbage in debug info.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • microblaze
  • • linker
  • • bugfix
  • • relocations
discussion_id_link
—
bugzilla_pr
—
date
2026-08-28T00:00:00.000Z

This commit fixes an issue in the microblaze ELF relocator where relocations against symbols in discarded sections were not handled correctly. This led to relocations surviving and resolving against dead symbols, resulting in garbage data in debug sections where zeros were expected. The fix ensures that these relocations are properly neutralized, and new test cases demonstrate the correction.