|
@@ -60,15 +60,9 @@ int __have_futex_clock_realtime;
|
|
|
|
|
|
static const char nptl_version[] __attribute_used__ = VERSION;
|
|
|
|
|
|
-
|
|
|
-#ifndef SHARED
|
|
|
-extern void __libc_setup_tls (size_t tcbsize, size_t tcbalign);
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef SHARED
|
|
|
static void nptl_freeres (void);
|
|
|
|
|
|
-
|
|
|
static const struct pthread_functions pthread_functions =
|
|
|
{
|
|
|
.ptr_pthread_attr_destroy = __pthread_attr_destroy,
|
|
@@ -265,18 +259,6 @@ __pthread_initialize_minimal_internal (void)
|
|
|
return;
|
|
|
initialized = 1;
|
|
|
|
|
|
-#ifndef SHARED
|
|
|
-
|
|
|
- taken care of initializing the TLS data structures. */
|
|
|
- __libc_setup_tls (TLS_TCB_SIZE, TLS_TCB_ALIGN);
|
|
|
-
|
|
|
-
|
|
|
- following code ahead of the __libc_setup_tls call. This function
|
|
|
- will initialize the thread register which is subsequently
|
|
|
- used. */
|
|
|
- __asm__ __volatile__ ("");
|
|
|
-#endif
|
|
|
-
|
|
|
|
|
|
struct pthread *pd = THREAD_SELF;
|
|
|
INTERNAL_SYSCALL_DECL (err);
|