Landing: 787a99680e72
Project / Subsystem
binutils / risc-v/bfd
Date
2026-07-31
Author
Jan Beulich <jbeulich@sourceware.org>
Commit
787a99680e72c076ad87b580f3de1a37b48598eb
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- risc-v/bfd
- patch_id
- —
- commit_hash
- 787a99680e72c076ad87b580f3de1a37b48598eb
- source_type
- public_inbox
- headline
- Warn about non-power-of-2 stack-align attribute in RISC-V
- tldr
- RISC-V linker now warns about and ignores non-power-of-2 stack-align attributes.
- author
- Jan Beulich <jbeulich@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • RISC-V
- • linker
- • attribute
- • alignment
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
The RISC-V BFD linker now issues a warning and ignores stack_align attributes that are not a power of two. Alignment values must be powers of two to be meaningful. This change ensures that the linker handles invalid alignment attributes gracefully, preventing potential misconfigurations.