From: Ulrich Drepper Date: Fri, 27 Oct 2006 23:26:20 +0000 (+0000) Subject: * Makerules: USE_TLS support is now default. X-Git-Tag: cvs/fedora-glibc-20061029T2155~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3266531c78ce58455d2cc1d95e12b4148711bdf9;p=thirdparty%2Fglibc.git * Makerules: USE_TLS support is now default. * tls.make.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 2f32dfdee53..554d8776e75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2006-10-27 Ulrich Drepper - * tls.make.c: USE_TLS support is now default. + * Makerules: USE_TLS support is now default. + * tls.make.c: Likewise. * csu/Versions: Likewise. * csu/libc-start.c: Likewise. * csu/libc-tls.c: Likewise. diff --git a/Makerules b/Makerules index b0be86b3683..200f8d7eea4 100644 --- a/Makerules +++ b/Makerules @@ -1233,10 +1233,7 @@ endif ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf) -include $(common-objpfx)tls.make -config-tls := notls -ifeq ($(use-tls),yes) config-tls := tls -endif ifeq ($(use-thread),yes) config-tls := thread endif diff --git a/elf/tst-thrlock.c b/elf/tst-thrlock.c index 71f1fbb35d1..fe72eba141e 100644 --- a/elf/tst-thrlock.c +++ b/elf/tst-thrlock.c @@ -27,8 +27,9 @@ tf (void *arg) return NULL; } -int -main (void) + +static int +do_test (void) { #define N 10 pthread_t th[N]; @@ -53,3 +54,6 @@ main (void) } return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" diff --git a/tls.make.c b/tls.make.c index d19e2e17924..6bcd2479c6f 100644 --- a/tls.make.c +++ b/tls.make.c @@ -2,8 +2,6 @@ #include -@@@ use-tls = yes @@@ - #if USE___THREAD @@@ use-thread = yes @@@ #else