diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:12:12 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:18:01 +0200 |
commit | a062ba38362f370aefac400e34ece13d09083752 (patch) | |
tree | 8ca67deeaecba5e56ef67641f93283963168b777 /nptl/pthread_getspecific.c | |
parent | deb317d5109aecd54573cc0340d23d641d80d45e (diff) | |
download | glibc-a062ba38362f370aefac400e34ece13d09083752.tar.gz glibc-a062ba38362f370aefac400e34ece13d09083752.tar.xz glibc-a062ba38362f370aefac400e34ece13d09083752.zip |
nptl: Move tss_get into libc
The symbol was moved using scripts/move-symbol-to-libc.py. __pthread_getspecific@@GLIBC_2.34 is no longer needed after the move, so it is removed with this commit, too. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/pthread_getspecific.c')
-rw-r--r-- | nptl/pthread_getspecific.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nptl/pthread_getspecific.c b/nptl/pthread_getspecific.c index 230497a84d..3aad6713e4 100644 --- a/nptl/pthread_getspecific.c +++ b/nptl/pthread_getspecific.c @@ -63,12 +63,13 @@ ___pthread_getspecific (pthread_key_t key) return result; } -versioned_symbol (libc, ___pthread_getspecific, __pthread_getspecific, +versioned_symbol (libc, ___pthread_getspecific, pthread_getspecific, GLIBC_2_34); libc_hidden_ver (___pthread_getspecific, __pthread_getspecific) +#ifndef SHARED +strong_alias (___pthread_getspecific, __pthread_getspecific) +#endif -versioned_symbol (libc, ___pthread_getspecific, pthread_getspecific, - GLIBC_2_34); #if OTHER_SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_34) compat_symbol (libpthread, ___pthread_getspecific, __pthread_getspecific, GLIBC_2_0); |