summaryrefslogtreecommitdiff
path: root/Versions
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-24 22:34:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-24 22:37:40 +0200
commit79e9d2b78ec0747a94731d45e0e5149269e96159 (patch)
treea68858fc2037b1a8b945c567312f678864c454e1 /Versions
parent05babf965ec39be7e1c8a7306ec1c60b1e614654 (diff)
Do not pthread_self when raise is called before libpthread init
* Versions (__pthread_threads): Add in GLIBC_PRIVATE. * pthreadP.h (__pthread_threads): Declare. * sysdeps/generic/raise.c (__pthread_threads): Make symbol weak. (raise): Check for __pthread_threads before calling __pthread_self.
Diffstat (limited to 'Versions')
-rw-r--r--Versions1
1 files changed, 1 insertions, 0 deletions
diff --git a/Versions b/Versions
index 089c6b5..4ad3c3e 100644
--- a/Versions
+++ b/Versions
@@ -142,5 +142,6 @@ libpthread {
}
GLIBC_PRIVATE {
__shm_directory;
+ __pthread_threads;
}
}