Print this page
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local
*** 55,68 ****
/* external globals */
void (*__mt_fex_sync)() = NULL; /* for synchronization with libmtsk */
#pragma weak __mt_fex_sync
- #ifdef LIBM_MT_FEX_SYNC
void (*__libm_mt_fex_sync)() = NULL; /* new, improved version of above */
#pragma weak __libm_mt_fex_sync
- #endif
/* private variables */
static fex_handler_t main_handlers;
static int handlers_initialized = 0;
static thread_key_t handlers_key;
--- 55,66 ----
*** 143,153 ****
}
else if (master && fex_get_log())
__fex_update_te();
}
- #ifdef LIBM_MT_FEX_SYNC
/*
* The following function may be used for synchronization with any
* internal project that manages multiple threads
*/
enum __libm_mt_fex_sync_actions {
--- 141,150 ----
*** 202,212 ****
}
#endif
break;
}
}
- #endif
#if defined(__sparc)
/*
* Code for setting or clearing interval mode on US-III and above.
--- 199,208 ----
*** 840,849 ****
}
/* synchronize with libmtsk */
__mt_fex_sync = __fex_sync_with_libmtsk;
- #ifdef LIBM_MT_FEX_SYNC
/* synchronize with other projects */
__libm_mt_fex_sync = __fex_sync_with_threads;
- #endif
}
--- 836,843 ----