about summary refs log tree commit diff
path: root/nptl/sysdeps/powerpc/tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-14 10:44:34 -0700
committerRoland McGrath <roland@hack.frob.com>2014-03-14 11:32:51 -0700
commit498a22333b835a598ccaed4656e97a0ec3573665 (patch)
treef02f8e2d4dcf1a93467f0747c56af83c74300101 /nptl/sysdeps/powerpc/tls.h
parentc7de50250367167d8c9f35594b264f6a0af8dd0c (diff)
downloadglibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.gz
glibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.xz
glibc-498a22333b835a598ccaed4656e97a0ec3573665.zip
Compile with -Wundef.
Diffstat (limited to 'nptl/sysdeps/powerpc/tls.h')
-rw-r--r--nptl/sysdeps/powerpc/tls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/powerpc/tls.h b/nptl/sysdeps/powerpc/tls.h
index c9baf4d469..556c8d59a5 100644
--- a/nptl/sysdeps/powerpc/tls.h
+++ b/nptl/sysdeps/powerpc/tls.h
@@ -49,6 +49,7 @@ typedef union dtv
 
 /* The TP points to the start of the thread blocks.  */
 # define TLS_DTV_AT_TP	1
+# define TLS_TCB_AT_TP	0
 
 /* We use the multiple_threads field in the pthread struct */
 #define TLS_MULTIPLE_THREADS_IN_TCB	1
@@ -56,6 +57,7 @@ typedef union dtv
 /* Get the thread descriptor definition.  */
 # include <nptl/descr.h>
 
+
 /* The stack_guard is accessed directly by GCC -fstack-protector code,
    so it is a part of public ABI.  The dtv and pointer_guard fields
    are private.  */