Landing: 01425f0623b9
Project / Subsystem
binutils / risc-v/bfd
Date
2026-07-31
Author
Jan Beulich <jbeulich@sourceware.org>
Commit
01425f0623b914dffc05a4911513b381494533f6
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- risc-v/bfd
- patch_id
- —
- commit_hash
- 01425f0623b914dffc05a4911513b381494533f6
- source_type
- public_inbox
- headline
- Warn about non-boolean unaligned-access attribute in RISC-V
- tldr
- RISC-V linker warns and converts non-boolean unaligned-access attributes to boolean true.
- author
- Jan Beulich <jbeulich@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • RISC-V
- • linker
- • attribute
- • unaligned access
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
The RISC-V BFD linker now warns when the unaligned_access attribute is not strictly boolean (0 or 1) and converts any non-zero value to 1. This ensures that the attribute is treated correctly, preventing potential issues with systems that might incorrectly set this flag to values other than 0 or 1.