Re: [PATCH v2] ARM: unwind: improve unwinders for noreturn case
From: Russell King (Oracle)
Date: Thu Mar 21 2024 - 20:09:48 EST
On Thu, Mar 21, 2024 at 11:43:41PM +0100, Ard Biesheuvel wrote:
> Given that this particular issue would just disappear if the compiler
> would just insert a BRK after the BL, I'd prefer to explore first
> whether we can get this fixed on the compiler side.
Arm32 doesn't have a BRK instruction. What would be appropriate after
the no-return BL would be OS specific.
Maybe a branch to "abort" would be a good idea though.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!