Re: [PATCH v2 2/2] ARM: avoid that vectors are removed during linker garbage collection

From: Linus Walleij
Date: Thu Feb 27 2025 - 18:23:17 EST


On Mon, Feb 24, 2025 at 1:54 PM Christian Eggers <ceggers@xxxxxxx> wrote:

> Without this, the vectors are removed if LD_DEAD_CODE_DATA_ELIMINATION
> is enabled. At startup, the CPU (silently) hangs in the undefined
> instruction exception as soon as the first timer interrupt arrives.
>
> Fixes: ed0f94102251 ("ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION")
> Signed-off-by: Christian Eggers <ceggers@xxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij