Landing: 57be7c7e108b

Project / Subsystem

binutils / risc-v/gas

Date

2026-07-31

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

57be7c7e108b7f21ad3cb7485535eef641dd585b

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
risc-v/gas
patch_id
—
commit_hash
57be7c7e108b7f21ad3cb7485535eef641dd585b
source_type
public_inbox
headline
Warn about non-power-of-2 stack-align attribute in RISC-V GAS
tldr
RISC-V assembler now warns about and flags 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
  • • assembler
  • • attribute
  • • alignment
discussion_id_link
—
bugzilla_pr
—
date
2026-07-31T00:00:00.000Z

The RISC-V assembler (gas) now warns when the stack_align attribute is specified with a value that is not a power of two. Alignment values must be powers of two to be valid. This change ensures that the assembler flags such invalid configurations, helping developers identify potential issues early.