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:
@@ -22,6 +22,8 @@
|
||||
|
||||
#include <pt-internal.h>
|
||||
|
||||
#define __pthread_get_cleanup_stack ___pthread_get_cleanup_stack
|
||||
|
||||
/* Make calling thread wait for termination of thread THREAD. Return
|
||||
the exit status of the thread in *STATUS. */
|
||||
int
|
||||
|
Reference in New Issue
Block a user