@@ -113,26 +113,6 @@ typedef struct
# endif
-#else
-
-# ifndef __ASSEMBLER__
-typedef struct
-{
- void *tcb;
- dtv_t *dtv;
- void *self;
- int multiple_threads;
-} tcbhead_t;
-# define NONTLS_INIT_TP \
- do { \
- static const tcbhead_t nontls_init_tp = { .multiple_threads = 0 }; \
- __thread_self = (__typeof (__thread_self)) &nontls_init_tp; \
- } while (0)
-#endif
#endif /* USE_TLS */
#endif /* tls.h */
@@ -252,15 +252,4 @@ __pthread_initialize_minimal (void)
__libc_setup_tls (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN);
}
-#elif defined NONTLS_INIT_TP
-/* This is the minimal initialization function used when libpthread is
- not used. */
-void
-__attribute__ ((weak))
-__pthread_initialize_minimal (void)
- NONTLS_INIT_TP;
-}
#endif