This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.27.9000-269-gfe9748c
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Apr 2018 00:57:09 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-269-gfe9748c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via fe9748cca3fb247cea420a70b28e601abcb196aa (commit)
from 82dbf555a4d41690f63b94ccb4db4bf43d873aa0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fe9748cca3fb247cea420a70b28e601abcb196aa
commit fe9748cca3fb247cea420a70b28e601abcb196aa
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Apr 3 02:56:35 2018 +0200
hurd: Avoid local PLT in libpthread
* htl/pt-exit.c: Include <pthreadP.h>.
(__pthread_exit): Call ___pthread_get_cleanup_stack instead of
__pthread_get_cleanup_stack.
diff --git a/ChangeLog b/ChangeLog
index 0b54ed7..8f4aa35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -249,8 +249,10 @@
(pthread_detach): New strong alias.
(__pthread_detach): Call __pthread_cond_broadcast instead of
pthread_cond_broadcast.
- * htl/pt-exit.c (__pthread_exit): Call __pthread_setcancelstate
- instead of pthread_setcancelstate.
+ * htl/pt-exit.c: Include <pthreadP.h>.
+ (__pthread_exit): Call __pthread_setcancelstate and
+ ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
+ __pthread_get_cleanup_stack.
* htl/pt-testcancel.c: Include <pthreadP.h>.
(pthread_testcancel): Call __pthread_exit instead of pthread_exit.
* sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
diff --git a/htl/pt-exit.c b/htl/pt-exit.c
index 0815dbc..cb62f47 100644
--- a/htl/pt-exit.c
+++ b/htl/pt-exit.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <pt-internal.h>
+#include <pthreadP.h>
#include <atomic.h>
@@ -40,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);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++--
htl/pt-exit.c | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources