From 498a22333b835a598ccaed4656e97a0ec3573665 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Mar 2014 10:44:34 -0700 Subject: Compile with -Wundef. --- sysdeps/aarch64/nptl/tls.h | 1 + sysdeps/alpha/nptl/tls.h | 1 + sysdeps/arm/nptl/tls.h | 1 + sysdeps/ia64/nptl/tls.h | 1 + sysdeps/m68k/nptl/tls.h | 1 + sysdeps/mach/hurd/i386/tls.h | 1 + sysdeps/microblaze/nptl/tls.h | 1 + sysdeps/mips/nptl/tls.h | 1 + sysdeps/tile/nptl/tls.h | 1 + 9 files changed, 9 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/aarch64/nptl/tls.h b/sysdeps/aarch64/nptl/tls.h index f03c519..ae2e6c4 100644 --- a/sysdeps/aarch64/nptl/tls.h +++ b/sysdeps/aarch64/nptl/tls.h @@ -48,6 +48,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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/alpha/nptl/tls.h b/sysdeps/alpha/nptl/tls.h index 4894f0b..b2e082d 100644 --- a/sysdeps/alpha/nptl/tls.h +++ b/sysdeps/alpha/nptl/tls.h @@ -42,6 +42,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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/arm/nptl/tls.h b/sysdeps/arm/nptl/tls.h index 8cc0a62..1a2d606 100644 --- a/sysdeps/arm/nptl/tls.h +++ b/sysdeps/arm/nptl/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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/ia64/nptl/tls.h b/sysdeps/ia64/nptl/tls.h index 279d107..3f9225a 100644 --- a/sysdeps/ia64/nptl/tls.h +++ b/sysdeps/ia64/nptl/tls.h @@ -87,6 +87,7 @@ register struct pthread *__thread_self __asm__("r13"); /* The DTV is allocated at the TP; the TCB is placed elsewhere. */ # define TLS_DTV_AT_TP 1 +# define TLS_TCB_AT_TP 0 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/m68k/nptl/tls.h b/sysdeps/m68k/nptl/tls.h index 5de079b..471775a 100644 --- a/sysdeps/m68k/nptl/tls.h +++ b/sysdeps/m68k/nptl/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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h index 3f84300..845d53d 100644 --- a/sysdeps/mach/hurd/i386/tls.h +++ b/sysdeps/mach/hurd/i386/tls.h @@ -26,6 +26,7 @@ /* The TCB can have any size and the memory following the address the thread pointer points to is unspecified. Allocate the TCB there. */ #define TLS_TCB_AT_TP 1 +#define TLS_DTV_AT_TP 0 #ifndef __ASSEMBLER__ diff --git a/sysdeps/microblaze/nptl/tls.h b/sysdeps/microblaze/nptl/tls.h index 4cfbdd3..71f1dd9 100644 --- a/sysdeps/microblaze/nptl/tls.h +++ b/sysdeps/microblaze/nptl/tls.h @@ -48,6 +48,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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/mips/nptl/tls.h b/sysdeps/mips/nptl/tls.h index 0a8da54..754d4e4 100644 --- a/sysdeps/mips/nptl/tls.h +++ b/sysdeps/mips/nptl/tls.h @@ -67,6 +67,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 /* Get the thread descriptor definition. */ # include diff --git a/sysdeps/tile/nptl/tls.h b/sysdeps/tile/nptl/tls.h index d226188..2a9bbc1 100644 --- a/sysdeps/tile/nptl/tls.h +++ b/sysdeps/tile/nptl/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 -- cgit v1.1