diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:40:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:41:21 +0200 |
commit | ceda365fbac3083e16eed07892fbd5970b3839a0 (patch) | |
tree | 8f278cf9dd5fd98533aee92213b6300cf6c9420c /nptl/pthread_barrier_init.c | |
parent | 8ec022a037788cc540c5670b0c9b1aa137bfbf97 (diff) | |
download | glibc-ceda365fbac3083e16eed07892fbd5970b3839a0.tar glibc-ceda365fbac3083e16eed07892fbd5970b3839a0.tar.gz glibc-ceda365fbac3083e16eed07892fbd5970b3839a0.tar.bz2 glibc-ceda365fbac3083e16eed07892fbd5970b3839a0.zip |
nptl: Reduce the GLIBC_PRIVATE ABI
The remaining symbols are mostly used by libthread_db.
__pthread_get_minstack has to remain exported even though unused.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_barrier_init.c')
-rw-r--r-- | nptl/pthread_barrier_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c index 3a13d2a756..4aa3b8c0d9 100644 --- a/nptl/pthread_barrier_init.c +++ b/nptl/pthread_barrier_init.c @@ -63,9 +63,10 @@ ___pthread_barrier_init (pthread_barrier_t *barrier, } versioned_symbol (libc, ___pthread_barrier_init, pthread_barrier_init, GLIBC_2_34); -versioned_symbol (libc, ___pthread_barrier_init, __pthread_barrier_init, - GLIBC_PRIVATE); libc_hidden_ver (___pthread_barrier_init, __pthread_barrier_init) +#ifndef SHARED +strong_alias (___pthread_barrier_init, __pthread_barrier_init) +#endif #if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) compat_symbol (libpthread, ___pthread_barrier_init, pthread_barrier_init, |