diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-05-21 22:29:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-05-21 22:29:51 +0000 |
commit | 7adefea85d3fcd88e60638d18a022b6968b9b891 (patch) | |
tree | e23560ab5eb1175e30ce456122463c894a91c007 /nptl/init.c | |
parent | 2c9718f3b34095d764128c61d1ae8f26354b66de (diff) | |
download | glibc-7adefea85d3fcd88e60638d18a022b6968b9b891.tar glibc-7adefea85d3fcd88e60638d18a022b6968b9b891.tar.gz glibc-7adefea85d3fcd88e60638d18a022b6968b9b891.tar.bz2 glibc-7adefea85d3fcd88e60638d18a022b6968b9b891.zip |
(pthread_functions): Don't add .ptr_wait_lookup_done here. (__pthread_initialize_minimal_internal): Initialize _dl_wait_lookup_done pointer in _rtld_global directly.
Diffstat (limited to 'nptl/init.c')
-rw-r--r-- | nptl/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/init.c b/nptl/init.c index fb4030e249..f67467aa5a 100644 --- a/nptl/init.c +++ b/nptl/init.c @@ -117,8 +117,7 @@ static const struct pthread_functions pthread_functions = .ptr__nptl_deallocate_tsd = __nptl_deallocate_tsd, .ptr__nptl_setxid = __nptl_setxid, /* For now only the stack cache needs to be freed. */ - .ptr_freeres = __free_stack_cache, - .ptr_wait_lookup_done = __wait_lookup_done + .ptr_freeres = __free_stack_cache }; # define ptr_pthread_functions &pthread_functions #else @@ -366,6 +365,8 @@ __pthread_initialize_minimal_internal (void) GL(dl_init_static_tls) = &__pthread_init_static_tls; + GL(dl_wait_lookup_done) = &__wait_lookup_done; + /* Register the fork generation counter with the libc. */ #ifndef TLS_MULTIPLE_THREADS_IN_TCB __libc_multiple_threads_ptr = |