summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/sh/rtems.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-08 18:27:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-08 18:27:42 +0000
commit2ef3f93606685bd573ac2dc31082a14ea28ceafd (patch)
tree49c5c1948d6abb91a48b41006c80d2d6d39ed2d7 /c/src/exec/score/cpu/sh/rtems.c
parent2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-2ef3f93606685bd573ac2dc31082a14ea28ceafd.tar.bz2
2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Adaptation to gcc-3.0.x.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/cpu/sh/rtems.c10
1 files changed, 5 insertions, 5 deletions
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) );
}