diff --git a/arch/arm/cpu/exceptions.S b/arch/arm/cpu/exceptions.S index af5d6df..4741bb8 100644 --- a/arch/arm/cpu/exceptions.S +++ b/arch/arm/cpu/exceptions.S @@ -80,7 +80,7 @@ .endm .macro get_bad_stack - ldr r2, _STACK_START + ldr r13, _STACK_START sub r13, r13, #(8) @ reserved a couple spots in abort stack str lr, [r13] @ save caller lr / spsr