[PATCH v2] ARM: unwind: improve unwinders for noreturn case
Russell King (Oracle)
linux at armlinux.org.uk
Thu Mar 21 17:08:54 PDT 2024
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!
More information about the linux-arm-kernel
mailing list