forked from Imagelibrary/rtems
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps * src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant. Let Thread_Handler verify that _init/_main are non-NULL before calling them (gives the linker script/user more freedom to handle special cases).
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
PR 356/bsps
|
||||||
|
* src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant.
|
||||||
|
Let Thread_Handler verify that _init/_main are non-NULL
|
||||||
|
before calling them (gives the linker script/user more
|
||||||
|
freedom to handle special cases).
|
||||||
|
|
||||||
2002-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* include/rtems/system.h: Add __RTEMS_REVISION__.
|
* include/rtems/system.h: Add __RTEMS_REVISION__.
|
||||||
|
|||||||
@@ -109,11 +109,11 @@ void _Thread_Handler( void )
|
|||||||
|
|
||||||
_Thread_Enable_dispatch();
|
_Thread_Enable_dispatch();
|
||||||
#if defined(__USE_INIT_FINI__)
|
#if defined(__USE_INIT_FINI__)
|
||||||
if (!doneCons)
|
if (!doneCons && _init)
|
||||||
_init ();
|
_init ();
|
||||||
#endif
|
#endif
|
||||||
#if defined(__USE__MAIN__)
|
#if defined(__USE__MAIN__)
|
||||||
if (!doneCons)
|
if (!doneCons && _main)
|
||||||
__main ();
|
__main ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user