svn commit: branches/uClibc-nptl/extra/Configs

carmelo at uclibc.org carmelo at uclibc.org
Thu Feb 19 10:21:05 UTC 2009


Author: carmelo
Date: 2009-02-19 10:21:04 +0000 (Thu, 19 Feb 2009)
New Revision: 25381

Log:
Make TLS support a selectable option (synch with trunk).
Automatically enabled when using NPTL.


Modified:
   branches/uClibc-nptl/extra/Configs/Config.in


Changeset:
Modified: branches/uClibc-nptl/extra/Configs/Config.in
===================================================================
--- branches/uClibc-nptl/extra/Configs/Config.in	2009-02-19 10:19:51 UTC (rev 25380)
+++ branches/uClibc-nptl/extra/Configs/Config.in	2009-02-19 10:21:04 UTC (rev 25381)
@@ -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.
 
@@ -1257,17 +1268,12 @@
 	depends on UCLIBC_HAS_LOCALE
 	default n
 	help
-	  If you are selective and only want locale data for a few particular
-	  locales, you can turn this option off.
+	  Use pre-built locale data.
 
-	  Mere mortals will answer Y and use the default set of pregenerated
-	  locale data, which supports 169 UTF-8 locales, and 144 locales for
-	  other codesets (for the complete list see extra/locale/LOCALES).
-
 	  Note that these pregenerated locales are sensitive to your
 	  target architecture (endianess, bitcount).
 
-	  Saying N here is recommended.
+	  Saying N here is highly recommended.
 
 config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
 	bool "Automagically Download the Pre-generated Locale Data (if necessary)"



More information about the uClibc-cvs mailing list