2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* rtems.c: Adaptation to gcc-3.0.x.
This commit is contained in:
Joel Sherrill
2002-04-08 18:27:42 +00:00
parent 72d4273782
commit 2ef3f93606
3 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Adaptation to gcc-3.0.x.
2001-04-03 Joel Sherrill <joel@OARcorp.com> 2001-04-03 Joel Sherrill <joel@OARcorp.com>
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.

View File

@@ -59,12 +59,12 @@ extern void* _Entry_points[] ;
void __RTEMS() void __RTEMS()
{ {
asm volatile ( asm volatile (
".global _RTEMS ".global _RTEMS\n"
_RTEMS:" ); "_RTEMS:" );
asm volatile ( asm volatile (
"jmp %0 " jmp %0\n"
rts " rts\n"
nop" " nop\n"
:: "m" (_Entry_points) ); :: "m" (_Entry_points) );
} }

View File

@@ -1,3 +1,7 @@
2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Adaptation to gcc-3.0.x.
2001-04-03 Joel Sherrill <joel@OARcorp.com> 2001-04-03 Joel Sherrill <joel@OARcorp.com>
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.