[uClibc-cvs] svn commit: branches/uClibc-nptl/libpthread/nptl/sysdeps/mips

sjhill at uclibc.org sjhill at uclibc.org
Fri Jun 3 03:21:45 UTC 2005


Author: sjhill
Date: 2005-06-02 21:21:45 -0600 (Thu, 02 Jun 2005)
New Revision: 10466

Log:
Add definitions necessary for TLS compilation.


Modified:
   branches/uClibc-nptl/libpthread/nptl/sysdeps/mips/tls.h


Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/mips/tls.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/mips/tls.h	2005-06-03 03:19:48 UTC (rev 10465)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/mips/tls.h	2005-06-03 03:21:45 UTC (rev 10466)
@@ -57,13 +57,14 @@
 
 
 /* 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




More information about the uClibc-cvs mailing list