summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2009-02-05 07:50:54 +0000
committerKhem Raj <kraj@mvista.com>2009-02-05 07:50:54 +0000
commitbd1a0339226e72391d204b30ed5df03561957b40 (patch)
treef03daafa8b5080086de7db5b0a8b567973c6f938 /extra
parent3760ed8716f30d81f122daf388454476a79dff16 (diff)
Make TLS configure time variable. Enable it along with NPTL.
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index e6ea80a42..1fe69cf41 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -372,6 +372,16 @@ config UCLIBC_HAS_THREADS
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 @@ config UCLIBC_HAS_THREADS_NATIVE
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.