diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 10:11:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 17:06:46 +0200 |
commit | da8e3710d8791f4b7f164ba9eb45b823ada44634 (patch) | |
tree | 0cb74656b1450c82d16331ee8c3a6f281ccbaacd /sysdeps/alpha | |
parent | ce4b3b7befc1010a4be0294d28984d0af47b7bc2 (diff) | |
download | glibc-da8e3710d8791f4b7f164ba9eb45b823ada44634.tar.gz glibc-da8e3710d8791f4b7f164ba9eb45b823ada44634.tar.xz glibc-da8e3710d8791f4b7f164ba9eb45b823ada44634.zip |
nptl: Move pthread_spin_lock into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
Diffstat (limited to 'sysdeps/alpha')
-rw-r--r-- | sysdeps/alpha/nptl/pthread_spin_lock.S | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sysdeps/alpha/nptl/pthread_spin_lock.S b/sysdeps/alpha/nptl/pthread_spin_lock.S index 8f9d1805c9..6ffd68d79d 100644 --- a/sysdeps/alpha/nptl/pthread_spin_lock.S +++ b/sysdeps/alpha/nptl/pthread_spin_lock.S @@ -16,13 +16,14 @@ License along with the GNU C Library. If not, see <https://www.gnu.org/licenses/>. */ +#include <shlib-compat.h> .text .align 4 - .globl pthread_spin_lock - .ent pthread_spin_lock -pthread_spin_lock: + .globl __pthread_spin_lock + .ent __pthread_spin_lock +__pthread_spin_lock: .frame $sp, 0, $26, 0 .prologue 0 @@ -41,4 +42,9 @@ pthread_spin_lock: unop br 0b - .end pthread_spin_lock + .end __pthread_spin_lock +versioned_symbol (libc, __pthread_spin_lock, pthread_spin_lock, GLIBC_2_34) + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, __pthread_spin_lock, pthread_spin_lock, GLIBC_2_2) +#endif |