mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
S390: Define TLS_DEFINE_INIT_TP
This commit is contained in:
parent
ba5ec6116c
commit
d3996c7905
@ -1,5 +1,7 @@
|
|||||||
2014-06-11 Roland McGrath <roland@hack.frob.com>
|
2014-06-11 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
|
||||||
|
|
||||||
* sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
|
* sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
|
||||||
* sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
|
* sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
|
||||||
|
|
||||||
|
@ -133,6 +133,9 @@ typedef struct
|
|||||||
NULL; \
|
NULL; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/* Value passed to 'clone' for initialization of the thread register. */
|
||||||
|
# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd)
|
||||||
|
|
||||||
/* Return the address of the dtv for the current thread. */
|
/* Return the address of the dtv for the current thread. */
|
||||||
# define THREAD_DTV() \
|
# define THREAD_DTV() \
|
||||||
(((tcbhead_t *) __builtin_thread_pointer ())->dtv)
|
(((tcbhead_t *) __builtin_thread_pointer ())->dtv)
|
||||||
|
Loading…
Reference in New Issue
Block a user