summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-16 08:25:41 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-16 08:25:41 +0200
commit4e5608dd4dee2062144318fe64ad2bd065a8d691 (patch)
tree3879118cd3cac8b957655a08c48af2fd09f82c6f
parentbsps/arm: Disable alignment exceptions (diff)
downloadrtems-4e5608dd4dee2062144318fe64ad2bd065a8d691.tar.bz2
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.
-rw-r--r--cpukit/score/cpu/arm/armv4-exception-default.S2
1 files changed, 1 insertions, 1 deletions
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