Re: [PATCH] alpha: Use symbol assignment in SYM_END
From: Maciej W. Rozycki
Date: Wed Nov 04 2026 - 00:56:09 EST
On Tue, 3 Nov 2026, Linus Walleij wrote:
> Alpha uses the .set directive to select assembler options, so the
> symbol assignment emitted by the generic SYM_END macro fails to assemble.
> This breaks COMPILE_TEST builds left and right, e.g.:
>
> Error: junk at end of line, first unrecognized character is `,'
> Error: .size expression for bcm6846_runner_start does not evaluate to a constant
>
> Override SYM_END to use an ordinary symbol assignment for the calculated
> size. Preserve the symbol type, size and local size symbol while leaving
> other architectures unchanged.
Alternatively `.equ' pseudo-op could be used, which has compatible syntax
(but in turn has different syntax on PA-RISC).
Maciej