diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-09 12:53:16 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-09 12:53:16 -0700 |
commit | 08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d (patch) | |
tree | d37b22f3082e1b8e7c6349b56621b264113653c6 /sysdeps/arm/nptl/tls.h | |
parent | 962b744d06c1df8653570f32c03da572801e4b6b (diff) | |
download | glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.tar.gz glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.tar.xz glibc-08f41f047c2ba7dbc66a10b7d0f8e9dd4ea2034d.zip |
ARM: Define TLS_DEFINE_INIT_TP
Diffstat (limited to 'sysdeps/arm/nptl/tls.h')
-rw-r--r-- | sysdeps/arm/nptl/tls.h | 2 |
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) |