htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE

Their prototypes have never been made public, and they are not used outside
libc (checked on the whole Debian archive)
This commit is contained in:
Samuel Thibault 2020-02-09 00:49:53 +01:00
parent f6233ab412
commit 0093df204a
2 changed files with 4 additions and 11 deletions

View File

@ -36,10 +36,6 @@ libpthread {
__pthread_mutex_transfer_np;
_pthread_mutex_destroy; _pthread_mutex_init;
_pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
_pthread_rwlock_destroy; _pthread_rwlock_init;
_cthread_init_routine;
cthread_detach;
@ -154,5 +150,9 @@ libpthread {
__pthread_getattr_np;
__pthread_attr_getstack;
__pthread_mutex_timedlock;
_pthread_mutex_destroy; _pthread_mutex_init;
_pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
_pthread_rwlock_destroy; _pthread_rwlock_init;
}
}

View File

@ -14,13 +14,6 @@ GLIBC_2.12 _cthread_init_routine D 0x4
GLIBC_2.12 _cthreads_flockfile F
GLIBC_2.12 _cthreads_ftrylockfile F
GLIBC_2.12 _cthreads_funlockfile F
GLIBC_2.12 _pthread_mutex_destroy F
GLIBC_2.12 _pthread_mutex_init F
GLIBC_2.12 _pthread_mutex_lock F
GLIBC_2.12 _pthread_mutex_trylock F
GLIBC_2.12 _pthread_mutex_unlock F
GLIBC_2.12 _pthread_rwlock_destroy F
GLIBC_2.12 _pthread_rwlock_init F
GLIBC_2.12 _pthread_spin_lock F
GLIBC_2.12 cthread_detach F
GLIBC_2.12 cthread_fork F