From ca08746f9f9eec5b641e49263877a12348bd8b74 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 3 Jul 2014 21:51:01 -0700 Subject: IA64: Define TLS_DEFINE_INIT_TP --- sysdeps/ia64/nptl/tls.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/ia64/nptl') diff --git a/sysdeps/ia64/nptl/tls.h b/sysdeps/ia64/nptl/tls.h index 3eca4e68be..e38352a973 100644 --- a/sysdeps/ia64/nptl/tls.h +++ b/sysdeps/ia64/nptl/tls.h @@ -121,6 +121,10 @@ register struct pthread *__thread_self __asm__("r13"); # define TLS_INIT_TP(thrdescr) \ (__thread_self = (thrdescr), INIT_SYSINFO, NULL) +/* Value passed to 'clone2' for initialization of the thread register. */ +# define TLS_DEFINE_INIT_TP(tp, pd) \ + void *tp = (char *) (pd) + TLS_PRE_TCB_SIZE + /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ (((tcbhead_t *)__thread_self)->dtv) -- cgit 1.4.1