From 2ef3f93606685bd573ac2dc31082a14ea28ceafd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 8 Apr 2002 18:27:42 +0000 Subject: 2002-04-06 Ralf Corsepius * rtems.c: Adaptation to gcc-3.0.x. --- c/src/exec/score/cpu/sh/ChangeLog | 4 ++++ c/src/exec/score/cpu/sh/rtems.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'c/src/exec/score/cpu/sh') diff --git a/c/src/exec/score/cpu/sh/ChangeLog b/c/src/exec/score/cpu/sh/ChangeLog index 9a55806779..c1d183a394 100644 --- a/c/src/exec/score/cpu/sh/ChangeLog +++ b/c/src/exec/score/cpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2002-04-06 Ralf Corsepius + + * rtems.c: Adaptation to gcc-3.0.x. + 2001-04-03 Joel Sherrill * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. diff --git a/c/src/exec/score/cpu/sh/rtems.c b/c/src/exec/score/cpu/sh/rtems.c index 539ebe0065..3640a1b53e 100644 --- a/c/src/exec/score/cpu/sh/rtems.c +++ b/c/src/exec/score/cpu/sh/rtems.c @@ -59,12 +59,12 @@ extern void* _Entry_points[] ; void __RTEMS() { asm volatile ( - ".global _RTEMS -_RTEMS:" ); + ".global _RTEMS\n" +"_RTEMS:" ); asm volatile ( - "jmp %0 - rts - nop" +" jmp %0\n" +" rts\n" +" nop\n" :: "m" (_Entry_points) ); } -- cgit v1.2.3