mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadhandler.c: M32R uses different name for init.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/src/threadhandler.c: M32R uses different name for init.
|
||||
|
||||
2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/Makefile.am: Add _execve() so we can use newlib posix support
|
||||
|
||||
@@ -35,7 +35,13 @@
|
||||
#endif
|
||||
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
extern void _init(void);
|
||||
#if defined(__M32R__)
|
||||
#define INIT_NAME __init
|
||||
#else
|
||||
#define INIT_NAME _init
|
||||
#endif
|
||||
|
||||
extern void INIT_NAME(void);
|
||||
#endif
|
||||
#if defined(__USE__MAIN__)
|
||||
extern void _main(void);
|
||||
@@ -131,7 +137,7 @@ void _Thread_Handler( void )
|
||||
*/
|
||||
if (!doneCons) /* && (volatile void *)_init) */
|
||||
{
|
||||
_init ();
|
||||
INIT_NAME ();
|
||||
}
|
||||
#endif
|
||||
#if defined(__USE__MAIN__)
|
||||
|
||||
Reference in New Issue
Block a user