From 8ac0f9e6f742dba698dc2ae0461f76a4b46a7971 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 9 Aug 2018 01:26:19 +0200 Subject: hurd: Avoid PLTs for __pthread_get/setspecific * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific, __pthread_setspecific): Add hidden proto. * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def. * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def. --- sysdeps/htl/pt-setspecific.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/htl/pt-setspecific.c') diff --git a/sysdeps/htl/pt-setspecific.c b/sysdeps/htl/pt-setspecific.c index a46a12f..02aff41 100644 --- a/sysdeps/htl/pt-setspecific.c +++ b/sysdeps/htl/pt-setspecific.c @@ -48,3 +48,4 @@ __pthread_setspecific (pthread_key_t key, const void *value) return 0; } strong_alias (__pthread_setspecific, pthread_setspecific); +hidden_def (__pthread_setspecific) -- cgit v1.1