From 0b7d48d1062e4383b4a78e0bb78c5f0f29479780 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 5 May 2021 17:15:57 +0200 Subject: 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 --- sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist | 4 ++++ sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist | 2 -- sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist | 4 ++++ sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist | 2 -- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'sysdeps/unix/sysv/linux/riscv') diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist index 9d536b08e6..889392cee4 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -1604,6 +1604,8 @@ GLIBC_2.33 seed48_r F GLIBC_2.33 seekdir F GLIBC_2.33 select F GLIBC_2.33 sem_clockwait F +GLIBC_2.33 sem_close F +GLIBC_2.33 sem_open F GLIBC_2.33 semctl F GLIBC_2.33 semget F GLIBC_2.33 semop F @@ -2109,6 +2111,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/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 2c05fed5de..1a87403132 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -42,11 +42,9 @@ GLIBC_2.33 pthread_setschedprio F GLIBC_2.33 pthread_sigqueue F GLIBC_2.33 pthread_timedjoin_np F GLIBC_2.33 pthread_tryjoin_np F -GLIBC_2.33 sem_close F GLIBC_2.33 sem_destroy F GLIBC_2.33 sem_getvalue F GLIBC_2.33 sem_init F -GLIBC_2.33 sem_open F GLIBC_2.33 sem_post F GLIBC_2.33 sem_timedwait F GLIBC_2.33 sem_trywait F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index 7e045a4830..8ddcdd24e9 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -1652,6 +1652,8 @@ GLIBC_2.27 seed48 F GLIBC_2.27 seed48_r F GLIBC_2.27 seekdir F GLIBC_2.27 select F +GLIBC_2.27 sem_close F +GLIBC_2.27 sem_open F GLIBC_2.27 semctl F GLIBC_2.27 semget F GLIBC_2.27 semop F @@ -2309,6 +2311,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/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 24c1fc45ce..122cb26879 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -41,11 +41,9 @@ GLIBC_2.27 pthread_setschedprio F GLIBC_2.27 pthread_sigqueue F GLIBC_2.27 pthread_timedjoin_np F GLIBC_2.27 pthread_tryjoin_np F -GLIBC_2.27 sem_close F GLIBC_2.27 sem_destroy F GLIBC_2.27 sem_getvalue F GLIBC_2.27 sem_init F -GLIBC_2.27 sem_open F GLIBC_2.27 sem_post F GLIBC_2.27 sem_timedwait F GLIBC_2.27 sem_trywait F -- cgit 1.4.1