From 03b7789ec7d0ffd3621ea4c20d564d2a93e182a5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 26 Apr 2014 15:09:10 +0200 Subject: score: Statically initialize _ISR_Vector_table --- cpukit/score/cpu/h8300/cpu_asm.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpukit/score/cpu/h8300') diff --git a/cpukit/score/cpu/h8300/cpu_asm.S b/cpukit/score/cpu/h8300/cpu_asm.S index 0dc79a952b..9e89a83420 100644 --- a/cpukit/score/cpu/h8300/cpu_asm.S +++ b/cpukit/score/cpu/h8300/cpu_asm.S @@ -133,12 +133,10 @@ nested: /* Vector to ISR */ - mov.l @SYM(_ISR_Vector_table),er1 mov er0,er2 ; copy vector shll.l er2 shll.l er2 ; vector = vector * 4 (sizeof(int)) - add.l er2,er1 - mov.l @er1,er1 + mov.l @(SYM(_ISR_Vector_table), er2),er1 jsr @er1 ; er0 = arg1 =vector orc #0xc0,ccr -- cgit v1.2.3