mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
hurd: Fix missing __pthread_get_cleanup_stack symbol
Rework 57e1651557
("hurd: Avoid PLT ref for __pthread_get_cleanup_stack")
to keep the __pthread_get_cleanup_stack symbol.
* htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
___pthread_get_cleanup_stack.
(__pthread_get_cleanup_stack): Remove hidden def, add alias.
* htl/pt-exit.c (__pthread_exit): Use ___pthread_get_cleanup_stack
instead of __pthread_get_cleanup_stack.
* sysdeps/htl/pthread-functions.h [libpthread]
(__pthread_get_cleanup_stack): Remove hidden proto.
* sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add
prototype.
* sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
attribute.
* htl/pt-join.c (__pthread_get_cleanup_stack): Define to
___pthread_get_cleanup_stack.
This commit is contained in:
@@ -60,9 +60,6 @@ pthread_t __pthread_self (void);
|
||||
int __pthread_setcancelstate (int, int *);
|
||||
int __pthread_setcanceltype (int, int *);
|
||||
struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void);
|
||||
#if IS_IN (libpthread)
|
||||
hidden_proto (__pthread_get_cleanup_stack)
|
||||
#endif
|
||||
int __pthread_once (pthread_once_t *, void (*) (void));
|
||||
int __pthread_rwlock_rdlock (pthread_rwlock_t *);
|
||||
int __pthread_rwlock_wrlock (pthread_rwlock_t *);
|
||||
|
Reference in New Issue
Block a user