aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-06-09 12:53:16 -0700
committerRoland McGrath <roland@hack.frob.com>2014-06-09 12:53:16 -0700
commit08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d (patch)
treed37b22f3082e1b8e7c6349b56621b264113653c6 /sysdeps/arm/nptl
parent962b744d06c1df8653570f32c03da572801e4b6b (diff)
downloadglibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.tar
glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.tar.gz
glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.tar.bz2
glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.zip
ARM: Define TLS_DEFINE_INIT_TP
Diffstat (limited to 'sysdeps/arm/nptl')
-rw-r--r--sysdeps/arm/nptl/tls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/arm/nptl/tls.h b/sysdeps/arm/nptl/tls.h
index fc828d2e7f..6521bdce0e 100644
--- a/sysdeps/arm/nptl/tls.h
+++ b/sysdeps/arm/nptl/tls.h
@@ -98,6 +98,8 @@ typedef struct
INTERNAL_SYSCALL_ERROR_P (result_var, err) \
? "unknown error" : NULL; })
+# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1
+
/* Return the address of the dtv for the current thread. */
# define THREAD_DTV() \
(((tcbhead_t *) __builtin_thread_pointer ())->dtv)