diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:15:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:19:38 +0200 |
commit | 0b7d48d1062e4383b4a78e0bb78c5f0f29479780 (patch) | |
tree | 7f68d1ddf402078c5ba49416a076b7875fb18b75 /sysdeps/unix/sysv/linux/sparc | |
parent | 19cc20ef2e8b9e09429741a3108e55c50758a273 (diff) | |
download | glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.zip glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.gz glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.bz2 |
nptl: Move sem_close, sem_open into libc
The symbols were moved using move-symbol-to-libc.py.
Both functions are moved at the same time because they depend
on internal functions in sysdeps/pthread/sem_routines.c, which
are moved in this commit as well. Additional hidden prototypes
are required to avoid check-localplt failures.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
4 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist index bbdb0f1..6048ad0 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist @@ -1681,6 +1681,8 @@ GLIBC_2.1.1 getutmp F GLIBC_2.1.1 getutmpx F GLIBC_2.1.1 imaxabs F GLIBC_2.1.1 imaxdiv F +GLIBC_2.1.1 sem_close F +GLIBC_2.1.1 sem_open F GLIBC_2.1.1 strchrnul F GLIBC_2.1.1 xdr_hyper F GLIBC_2.1.1 xdr_int64_t F @@ -2378,6 +2380,8 @@ GLIBC_2.34 pthread_spin_trylock F GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 sem_clockwait F +GLIBC_2.34 sem_close F +GLIBC_2.34 sem_open F GLIBC_2.34 thrd_exit F GLIBC_2.34 tss_create F GLIBC_2.34 tss_delete F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 86b15ad..8cc7e9b 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -30,8 +30,6 @@ GLIBC_2.1 sem_init F GLIBC_2.1 sem_post F GLIBC_2.1 sem_trywait F GLIBC_2.1 sem_wait F -GLIBC_2.1.1 sem_close F -GLIBC_2.1.1 sem_open F GLIBC_2.1.1 sem_unlink F GLIBC_2.1.2 __libpthread_version_placeholder F GLIBC_2.11 pthread_sigqueue F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist index 2b07dd6..24289f7 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist @@ -1499,6 +1499,8 @@ GLIBC_2.2 seed48 F GLIBC_2.2 seed48_r F GLIBC_2.2 seekdir F GLIBC_2.2 select F +GLIBC_2.2 sem_close F +GLIBC_2.2 sem_open F GLIBC_2.2 semctl F GLIBC_2.2 semget F GLIBC_2.2 semop F @@ -2297,6 +2299,8 @@ GLIBC_2.34 pthread_spin_trylock F GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 sem_clockwait F +GLIBC_2.34 sem_close F +GLIBC_2.34 sem_open F GLIBC_2.34 thrd_exit F GLIBC_2.34 tss_create F GLIBC_2.34 tss_delete F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index 6f15ac3..42c7615 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -31,11 +31,9 @@ GLIBC_2.2 pthread_getconcurrency F GLIBC_2.2 pthread_getcpuclockid F GLIBC_2.2 pthread_join F GLIBC_2.2 pthread_setconcurrency F -GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F GLIBC_2.2 sem_init F -GLIBC_2.2 sem_open F GLIBC_2.2 sem_post F GLIBC_2.2 sem_timedwait F GLIBC_2.2 sem_trywait F |