mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
htl: Add hidden def for __pthread_create/detach
to avoid a PLT.
This commit is contained in:
parent
e960d8313d
commit
7c33111697
@ -97,6 +97,7 @@ __pthread_create (pthread_t * thread, const pthread_attr_t * attr,
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
weak_alias (__pthread_create, pthread_create)
|
weak_alias (__pthread_create, pthread_create)
|
||||||
|
hidden_def (__pthread_create)
|
||||||
|
|
||||||
/* Internal version of pthread_create. See comment in
|
/* Internal version of pthread_create. See comment in
|
||||||
pt-internal.h. */
|
pt-internal.h. */
|
||||||
|
@ -78,3 +78,4 @@ __pthread_detach (pthread_t thread)
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
weak_alias (__pthread_detach, pthread_detach)
|
weak_alias (__pthread_detach, pthread_detach)
|
||||||
|
hidden_def (__pthread_detach)
|
||||||
|
@ -97,6 +97,8 @@ int __pthread_attr_getstack (const pthread_attr_t *, void **, size_t *);
|
|||||||
void __pthread_testcancel (void);
|
void __pthread_testcancel (void);
|
||||||
|
|
||||||
#if IS_IN (libpthread)
|
#if IS_IN (libpthread)
|
||||||
|
hidden_proto (__pthread_create)
|
||||||
|
hidden_proto (__pthread_detach)
|
||||||
hidden_proto (__pthread_key_create)
|
hidden_proto (__pthread_key_create)
|
||||||
hidden_proto (__pthread_getspecific)
|
hidden_proto (__pthread_getspecific)
|
||||||
hidden_proto (__pthread_setspecific)
|
hidden_proto (__pthread_setspecific)
|
||||||
|
Loading…
Reference in New Issue
Block a user