Landing: ee6b7f5bb8e8
Project / Subsystem
binutils / microblaze
Date
2026-09-24
Author
Michael Eager <eager@sourceware.org>
Commit
ee6b7f5bb8e8aad1694f0c85c47d9a05417d86dd
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- microblaze
- patch_id
- —
- commit_hash
- ee6b7f5bb8e8aad1694f0c85c47d9a05417d86dd
- source_type
- public_inbox
- headline
- MicroBlaze: Handle BFD_RELOC_8 and BFD_RELOC_16 relocations
- tldr
- MicroBlaze assembler now correctly handles 8-bit and 16-bit relocations, fixing incorrect zeroing of data.
- author
- Michael Eager <eager@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • microblaze
- • assembler
- • relocation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-24T00:00:00.000Z
The MicroBlaze assembler’s md_apply_fix function previously lacked specific cases for BFD_RELOC_8 and BFD_RELOC_16 relocations. This caused byte or halfword data, whose values were only known at fixup time, to be assembled as zero, with no relocation information surviving for the linker. This commit adds these cases, ensuring values are written correctly and fixing issues in the gas testsuite.