From 6bb20b2e064e1e4473683fa6e598e80f4ea8aa00 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 26 Sep 2017 21:16:41 +0200 Subject: Remove libihash use It poses compilation bootstrapping inconvenience, non-standard symbol exposition, and this is overkill, considering the usual use of TSD, and the availability of TLS. * sysdeps/hurd/pt-key.h: Do not include . (PTHREAD_KEY_MEMBERS): Turn thread_specifics to a void**, add unsigned thread_specifics_size. * sysdeps/hurd/pt-init-specific.c (__pthread_init_specific): Initialize thread_specifics_size to 0. * sysdeps/hurd/pt-setspecific.c: Do not include . (__pthread_setspecific): Expand and access thread_specifics array instead of hash table. * sysdeps/hurd/pt-getspecific.c: Do not include . (__pthread_getspecific): Access thread_specifics array instead of hash table. * sysdeps/hurd/pt-key-delete.c (pthread_key_delete): Clean thread_specifics array instead of hash table. * sysdeps/hurd/pt-destroy-specific.c: Do not include . (__pthread_destroy_specific): Clean and free thread_specifics array instead of hash table. * Makeconfig (LDLIBS-tst-interpose-static-thread): Remove -lihash. (LDLIBS-tst-linkall-static): Remove -lihash. * Makefile (HURDLIBS): Remove ihash. (LDLIBS-pthread.so): Remove -lihash. * libpthread.a: Remove -lihash. * libpthread_pic.a: Remove -lihash_pic. --- libpthread.a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread.a') diff --git a/libpthread.a b/libpthread.a index 7d3f8d3..e5bd2cc 100644 --- a/libpthread.a +++ b/libpthread.a @@ -19,4 +19,4 @@ EXTERN(_cthreads_ftrylockfile) EXTERN(pthread_getattr_np) EXTERN(pthread_attr_getstack) -GROUP(-lpthread2 -lihash -lrt) +GROUP(-lpthread2 -lrt) -- cgit v1.2.3