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-exit.c | |
parent | faf7bbc2d051f7351af5761e3f84f1c3c8b6479f (diff) | |
download | glibc-57e1651557e833744d345deff0cd595b31e621ff.tar glibc-57e1651557e833744d345deff0cd595b31e621ff.tar.gz glibc-57e1651557e833744d345deff0cd595b31e621ff.tar.bz2 glibc-57e1651557e833744d345deff0cd595b31e621ff.zip |
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-exit.c')
-rw-r--r-- | htl/pt-exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htl/pt-exit.c b/htl/pt-exit.c index cb62f474fa..823e09e26e 100644 --- a/htl/pt-exit.c +++ b/htl/pt-exit.c @@ -41,7 +41,7 @@ __pthread_exit (void *status) disabled. */ __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate); - for (handlers = ___pthread_get_cleanup_stack (); + for (handlers = __pthread_get_cleanup_stack (); *handlers != NULL; *handlers = (*handlers)->__next) (*handlers)->__handler ((*handlers)->__arg); |