1
0
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:
Samuel Thibault
2018-06-16 10:52:04 +02:00
parent 8c9d53428e
commit f96a85e0fe
6 changed files with 10 additions and 15 deletions

View File

@@ -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