[PATCH v4 09/12] RISC-V/gas: warn about non-boolean unaligned-access attribute
Project / Subsystem
binutils / risc-v/gas
Date
2026-07-24
Proposer
Jan Beulich <jbeulich@suse.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Introduces a warning for non-compliant attribute values.
- • Does not actively merge or normalize values within gas, relying on BFD for that logic.
All attributes
- project
- binutils
- subsystem
- risc-v/gas
- patch_id
- —
- discussion_id
- 90b222f1-b4b0-4748-ba83-3143d8f363d0@suse.com
- source_type
- public_inbox
- title
- [PATCH v4 09/12] RISC-V/gas: warn about non-boolean unaligned-access attribute
- headline
- RISC-V/gas: warn about non-boolean unaligned-access attribute
- tldr
- Warn about non-boolean values for the RISC-V unaligned-access attribute in the assembler.
- proposer
- Jan Beulich <jbeulich@suse.com>
- consensus
- Proposed
- outcome
- ready
- sentiment_score
- —
- technical_tradeoffs
-
- • Introduces a warning for non-compliant attribute values.
- • Does not actively merge or normalize values within gas, relying on BFD for that logic.
- series_id
- binutils:risc-v/gas: warn about non-boolean unaligned-access attribute
- series_role
- reply
- series_parts
- []
- tags
-
- • binutils
- • risc-v
- • gas
- • attribute
- • warning
- bugzilla_url
- —
- date
- 2026-07-24T00:00:00.000Z
[PATCH v4 09/12] RISC-V/gas: warn about non-boolean unaligned-access attribute
This patch introduces a warning in the RISC-V GNU Assembler (gas) when the .attribute unaligned_access directive is used with a value other than 0 or 1. This helps catch potential errors where developers might incorrectly specify this boolean attribute, ensuring better adherence to the RISC-V specification.