diff options
Diffstat (limited to 'libpthread/nptl')
-rw-r--r-- | libpthread/nptl/sysdeps/mips/tls.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/mips/tls.h b/libpthread/nptl/sysdeps/mips/tls.h index eb78bf5d0..dde10be60 100644 --- a/libpthread/nptl/sysdeps/mips/tls.h +++ b/libpthread/nptl/sysdeps/mips/tls.h @@ -57,13 +57,14 @@ typedef union dtv /* We require TLS support in the tools. */ -#ifdef __PTHREADS_NATIVE__ /* - * MIPS NPTL - HAVE_TLS_MODEL_ATTRIBUTE may need to be defined also and - * is used in 'glibc/include/libc-symbols.h'. We will see if - * it is needed later on. + * NPTL - These defines would normally be handled by the top-level + * configure script in glibc. We define them ourselves. */ -#define HAVE_TLS_SUPPORT 1 +#ifdef __PTHREADS_NATIVE__ +#define HAVE_TLS_SUPPORT 1 +#define HAVE_TLS_MODEL_ATTRIBUTE 1 +#define HAVE___THREAD 1 #endif #ifndef HAVE_TLS_SUPPORT |