forked from Imagelibrary/rtems
2006-03-08 Joel Sherrill <joel@OARcorp.com>
PR 761/rtems * score/src/threadhandler.c: Add volatile cast so test is weak function is present will do something. Otherwise, it can be assume by gcc to always be a true condition.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2006-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 761/rtems
|
||||
* score/src/threadhandler.c: Add volatile cast so test is weak function
|
||||
is present will do something. Otherwise, it can be assume by gcc to
|
||||
always be a true condition.
|
||||
|
||||
2006-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* itron/macros/rtems/itron/semaphore.inl,
|
||||
|
||||
@@ -113,7 +113,7 @@ void _Thread_Handler( void )
|
||||
|
||||
_Thread_Enable_dispatch();
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
if (!doneCons && _init)
|
||||
if (!doneCons && (volatile void *)_init)
|
||||
_init ();
|
||||
#endif
|
||||
#if defined(__USE__MAIN__)
|
||||
|
||||
Reference in New Issue
Block a user