From 4e5608dd4dee2062144318fe64ad2bd065a8d691 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 16 Jul 2013 08:25:41 +0200 Subject: arm: Fix exception frame information Use the right stack pointer value for the exception frame. Assume that we do not have a double abort exception. --- cpukit/score/cpu/arm/armv4-exception-default.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cpu/arm/armv4-exception-default.S b/cpukit/score/cpu/arm/armv4-exception-default.S index ad68b48a79..3278381c29 100644 --- a/cpukit/score/cpu/arm/armv4-exception-default.S +++ b/cpukit/score/cpu/arm/armv4-exception-default.S @@ -108,7 +108,7 @@ save_more_context: orr r5, r3, #ARM_PSR_I bic r5, #ARM_PSR_T msr cpsr, r5 - sub r0, sp, #ARM_EXCEPTION_FRAME_SIZE + mov r0, sp mov r1, lr msr cpsr, r7 mov r5, #0 -- cgit v1.2.3