From 7d6ff7ad998e5d70bdec18dc81380c8faea502f4 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Thu, 28 Apr 2005 18:29:54 +0000 Subject: [PATCH] Always allocate static TLS space. --- lib/libc/gen/tls.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c index 0786e30ef2..43cd305206 100644 --- a/lib/libc/gen/tls.c +++ b/lib/libc/gen/tls.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/lib/libc/gen/tls.c,v 1.7 2005/03/01 23:42:00 davidxu Exp $ - * $DragonFly: src/lib/libc/gen/tls.c,v 1.6 2005/03/29 23:04:36 joerg Exp $ + * $DragonFly: src/lib/libc/gen/tls.c,v 1.7 2005/04/28 18:29:54 joerg Exp $ */ /* @@ -218,9 +218,7 @@ _init_tls() } } - if (tls_static_space) { - tcb = _rtld_allocate_tls(NULL); - tls_set_tcb(tcb); - } + tcb = _rtld_allocate_tls(NULL); + tls_set_tcb(tcb); #endif } -- 2.41.0