2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>

* sapi/include/confdefs.h: Do not instantiate initialization
	thas/thread pointer tables for an API that is not configured.
This commit is contained in:
Joel Sherrill
2007-06-20 22:22:16 +00:00
parent 8b8e1ee507
commit 5a8bc44574
2 changed files with 23 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Do not instantiate initialization
thas/thread pointer tables for an API that is not configured.
2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com> 2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am: * libcsupport/Makefile.am:

View File

@@ -1219,7 +1219,8 @@ rtems_configuration_table Configuration = {
* If the user has configured a set of POSIX Initialization Threads, * If the user has configured a set of POSIX Initialization Threads,
* then we need to install the code that runs that loop. * then we need to install the code that runs that loop.
*/ */
#ifdef CONFIGURE_INIT #ifdef RTEMS_POSIX_API
#ifdef CONFIGURE_INIT
#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
void _POSIX_Threads_Initialize_user_threads_body(void); void _POSIX_Threads_Initialize_user_threads_body(void);
void (*_POSIX_Threads_Initialize_user_threads_p)(void) = void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
@@ -1227,13 +1228,15 @@ rtems_configuration_table Configuration = {
#else #else
void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL; void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL;
#endif #endif
#endif
#endif #endif
/* /*
* If the user has configured a set of ITRON Initialization Tasks, * If the user has configured a set of ITRON Initialization Tasks,
* then we need to install the code that runs that loop. * then we need to install the code that runs that loop.
*/ */
#ifdef CONFIGURE_INIT #ifdef RTEMS_ITRON_API
#ifdef CONFIGURE_INIT
#ifdef CONFIGURE_ITRON_INIT_TASK_TABLE #ifdef CONFIGURE_ITRON_INIT_TASK_TABLE
void _ITRON_Task_Initialize_user_tasks_body(void); void _ITRON_Task_Initialize_user_tasks_body(void);
void (*_ITRON_Initialize_user_tasks_p)(void) = void (*_ITRON_Initialize_user_tasks_p)(void) =
@@ -1241,6 +1244,7 @@ rtems_configuration_table Configuration = {
#else #else
void (*_ITRON_Initialize_user_tasks_p)(void) = NULL; void (*_ITRON_Initialize_user_tasks_p)(void) = NULL;
#endif #endif
#endif
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus