mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-30 04:04:54 +03:00
* Makerules: USE_TLS support is now default.
* tls.make.c: Likewise.
This commit is contained in:
parent
b52bbc1bdf
commit
3266531c78
@ -1,6 +1,7 @@
|
|||||||
2006-10-27 Ulrich Drepper <drepper@redhat.com>
|
2006-10-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* tls.make.c: USE_TLS support is now default.
|
* Makerules: USE_TLS support is now default.
|
||||||
|
* tls.make.c: Likewise.
|
||||||
* csu/Versions: Likewise.
|
* csu/Versions: Likewise.
|
||||||
* csu/libc-start.c: Likewise.
|
* csu/libc-start.c: Likewise.
|
||||||
* csu/libc-tls.c: Likewise.
|
* csu/libc-tls.c: Likewise.
|
||||||
|
@ -1233,10 +1233,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf)
|
ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf)
|
||||||
-include $(common-objpfx)tls.make
|
-include $(common-objpfx)tls.make
|
||||||
config-tls := notls
|
|
||||||
ifeq ($(use-tls),yes)
|
|
||||||
config-tls := tls
|
config-tls := tls
|
||||||
endif
|
|
||||||
ifeq ($(use-thread),yes)
|
ifeq ($(use-thread),yes)
|
||||||
config-tls := thread
|
config-tls := thread
|
||||||
endif
|
endif
|
||||||
|
@ -27,8 +27,9 @@ tf (void *arg)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
main (void)
|
static int
|
||||||
|
do_test (void)
|
||||||
{
|
{
|
||||||
#define N 10
|
#define N 10
|
||||||
pthread_t th[N];
|
pthread_t th[N];
|
||||||
@ -53,3 +54,6 @@ main (void)
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define TEST_FUNCTION do_test ()
|
||||||
|
#include "../test-skeleton.c"
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
|
|
||||||
@@@ use-tls = yes @@@
|
|
||||||
|
|
||||||
#if USE___THREAD
|
#if USE___THREAD
|
||||||
@@@ use-thread = yes @@@
|
@@@ use-thread = yes @@@
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user