diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 01:22:43 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 01:37:42 +0200 |
commit | 57e1651557e833744d345deff0cd595b31e621ff (patch) | |
tree | b5ef98de554bd8a2430860f5bc2591893c437f7d /htl/pt-cleanup.c | |
parent | faf7bbc2d051f7351af5761e3f84f1c3c8b6479f (diff) | |
download | glibc-57e1651557e833744d345deff0cd595b31e621ff.zip glibc-57e1651557e833744d345deff0cd595b31e621ff.tar.gz glibc-57e1651557e833744d345deff0cd595b31e621ff.tar.bz2 |
hurd: Avoid PLT ref for __pthread_get_cleanup_stack
* htl/pt-cleanup.c (___pthread_get_cleanup_stack): Rename to
__pthread_get_cleanup_stack.
(__pthread_get_cleanup_stack): Remove alias, add hidden def.
* 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): Add hidden proto.
* sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Remove
prototype.
Diffstat (limited to 'htl/pt-cleanup.c')
-rw-r--r-- | htl/pt-cleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/htl/pt-cleanup.c b/htl/pt-cleanup.c index 1b860c7..b4a9834 100644 --- a/htl/pt-cleanup.c +++ b/htl/pt-cleanup.c @@ -21,8 +21,8 @@ #include <pt-internal.h> struct __pthread_cancelation_handler ** -___pthread_get_cleanup_stack (void) +__pthread_get_cleanup_stack (void) { return &_pthread_self ()->cancelation_handlers; } -strong_alias (___pthread_get_cleanup_stack, __pthread_get_cleanup_stack) +libc_hidden_def (__pthread_get_cleanup_stack) |