summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/mips/tls.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:21:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:21:45 +0000
commit8262a95bb6e6327572f4b2d6ad9b6adea5b67490 (patch)
tree59b79f3a6bf7cb227b86a496e1fb1a0d01efe3c8 /libpthread/nptl/sysdeps/mips/tls.h
parentb972f78f0d58d9babfd27074a7207c42bf58df6c (diff)
downloaduClibc-alpine-8262a95bb6e6327572f4b2d6ad9b6adea5b67490.tar.bz2
uClibc-alpine-8262a95bb6e6327572f4b2d6ad9b6adea5b67490.tar.xz
Add definitions necessary for TLS compilation.
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/mips/tls.h11
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