svn commit: trunk/uClibc/extra/Configs

kraj at uclibc.org kraj at uclibc.org
Thu Feb 5 07:50:55 UTC 2009


Author: kraj
Date: 2009-02-05 07:50:54 +0000 (Thu, 05 Feb 2009)
New Revision: 25244

Log:
Make TLS configure time variable. Enable it along with NPTL.


Modified:
   trunk/uClibc/extra/Configs/Config.in


Changeset:
Modified: trunk/uClibc/extra/Configs/Config.in
===================================================================
--- trunk/uClibc/extra/Configs/Config.in	2009-02-04 23:51:11 UTC (rev 25243)
+++ trunk/uClibc/extra/Configs/Config.in	2009-02-05 07:50:54 UTC (rev 25244)
@@ -372,6 +372,16 @@
 
 	  If your applications require pthreads, answer Y.
 
+config UCLIBC_HAS_TLS
+	bool "Thread-Local Storage"
+	depends on UCLIBC_HAS_THREADS
+	default n
+	help
+	  If you want to enable TLS support then answer Y.
+	  This is fast an efficient way to store per-thread local data
+	  which is not on stack. It needs __thread support enabled in
+	  gcc.
+
 config PTHREADS_DEBUG_SUPPORT
 	bool "Build pthreads debugging support"
 	default n
@@ -407,6 +417,7 @@
 	bool "Native POSIX Threading (NPTL) Support"
 	depends on UCLIBC_HAS_THREADS
 	default n
+	select UCLIBC_HAS_TLS
 	help
 	  If you want to compile uClibc with NPTL support, then answer Y.
 



More information about the uClibc-cvs mailing list