]> sourceware.org Git - glibc.git/commitdiff
SPARC: Define TLS_DEFINE_INIT_TP
authorRoland McGrath <roland@hack.frob.com>
Thu, 12 Jun 2014 21:33:43 +0000 (14:33 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 12 Jun 2014 21:33:43 +0000 (14:33 -0700)
ChangeLog
nptl/sysdeps/sparc/tls.h

index 0f3a99d6e09c309bfd74ef2e4350bb737cffcfd8..c1e52417bf0916037e6742c437b305840951840c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-06-12  Roland McGrath  <roland@hack.frob.com>
 
+       * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
+
        * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
        * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
 
index 4a1dce7f65efa8601ed970ed10336acfdcc8cdc5..5ea9355235e4d589bfd16108d02c589b51d03be5 100644 (file)
@@ -110,6 +110,9 @@ register struct pthread *__thread_self __asm__("%g7");
 # define TLS_INIT_TP(descr) \
   (__thread_self = (__typeof (__thread_self)) (descr), 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.  */
 # define THREAD_DTV() \
   (((tcbhead_t *) __thread_self)->dtv)
This page took 0.118867 seconds and 5 git commands to generate.