From 23e8f3dd031f31a0f929ce14091f08e008abb66e Mon Sep 17 00:00:00 2001 From: Hesham ALMatary Date: Sun, 31 Aug 2014 18:28:49 -0500 Subject: Add missing r31 load instruction _ISR_Handler _ISR_Handler: r31 was not loaded in restore function. This patch adds this load. --- cpukit/score/cpu/or1k/or1k-exception-handler-low.S | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S index 964a05477d..7108ff65b5 100644 --- a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S +++ b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S @@ -207,6 +207,7 @@ jump_to_c_handler: l.lwz r28, 112(r1) l.lwz r29, 116(r1) l.lwz r30, 120(r1) + l.lwz r31, 124(r1) l.addi r1, r1, 140 -- cgit v1.2.3