mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
NPTL: Move __libc_multiple_threads_ptr defn to nptl-init.c
This commit is contained in:
parent
24f4f8253f
commit
c6aab2cb52
@ -1,3 +1,9 @@
|
||||
2014-11-12 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
|
||||
(__libc_multiple_threads_ptr): Variable moved ...
|
||||
* nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
|
||||
|
||||
2014-11-12 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* conform/GlibcConform.pm: New file.
|
||||
|
@ -36,12 +36,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
|
||||
/* Pointer to the corresponding variable in libc. */
|
||||
int *__libc_multiple_threads_ptr attribute_hidden;
|
||||
#endif
|
||||
|
||||
|
||||
static int
|
||||
do_clone (struct pthread *pd, const struct pthread_attr *attr,
|
||||
int clone_flags, int (*fct) (void *), STACK_VARIABLES_PARMS,
|
||||
|
@ -37,6 +37,11 @@
|
||||
#include <kernel-features.h>
|
||||
|
||||
|
||||
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
|
||||
/* Pointer to the corresponding variable in libc. */
|
||||
int *__libc_multiple_threads_ptr attribute_hidden;
|
||||
#endif
|
||||
|
||||
/* Size and alignment of static TLS block. */
|
||||
size_t __static_tls_size;
|
||||
size_t __static_tls_align_m1;
|
||||
|
Loading…
Reference in New Issue
Block a user