From c6e7ec2f123bceb323836cc4558f9586959ebf58 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 21 Jun 2021 08:25:15 +0200 Subject: rt: Move shm_open into libc This function has no dependency on libpthread, so the move is also applied to Hurd. To avoid localplt failures, use __open64_nocancel instead of pthread_setcancelstate and open. The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/mips/mips32/librt.abilist | 1 - sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist | 1 - sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist | 1 - 7 files changed, 8 insertions(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/mips') diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist index 26149e7..c39eec9 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist @@ -1942,6 +1942,7 @@ GLIBC_2.2 semctl F GLIBC_2.2 sendfile F GLIBC_2.2 setrlimit64 F GLIBC_2.2 setutxent F +GLIBC_2.2 shm_open F GLIBC_2.2 shmctl F GLIBC_2.2 sighold F GLIBC_2.2 sigignore F @@ -2530,6 +2531,7 @@ GLIBC_2.34 sem_timedwait F GLIBC_2.34 sem_trywait F GLIBC_2.34 sem_unlink F GLIBC_2.34 sem_wait F +GLIBC_2.34 shm_open F GLIBC_2.34 thrd_create F GLIBC_2.34 thrd_detach F GLIBC_2.34 thrd_exit F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist index c4dd28e..b187230 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist @@ -15,7 +15,6 @@ GLIBC_2.2 aio_write F GLIBC_2.2 aio_write64 F GLIBC_2.2 lio_listio F GLIBC_2.2 lio_listio64 F -GLIBC_2.2 shm_open F GLIBC_2.2 shm_unlink F GLIBC_2.2 timer_create F GLIBC_2.2 timer_delete F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist index 8f9b7f0..0344199 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist @@ -1940,6 +1940,7 @@ GLIBC_2.2 semctl F GLIBC_2.2 sendfile F GLIBC_2.2 setrlimit64 F GLIBC_2.2 setutxent F +GLIBC_2.2 shm_open F GLIBC_2.2 shmctl F GLIBC_2.2 sighold F GLIBC_2.2 sigignore F @@ -2528,6 +2529,7 @@ GLIBC_2.34 sem_timedwait F GLIBC_2.34 sem_trywait F GLIBC_2.34 sem_unlink F GLIBC_2.34 sem_wait F +GLIBC_2.34 shm_open F GLIBC_2.34 thrd_create F GLIBC_2.34 thrd_detach F GLIBC_2.34 thrd_exit F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist index 57500f9..8f7783c 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist @@ -1939,6 +1939,7 @@ GLIBC_2.2 sem_wait F GLIBC_2.2 sendfile F GLIBC_2.2 setrlimit64 F GLIBC_2.2 setutxent F +GLIBC_2.2 shm_open F GLIBC_2.2 sighold F GLIBC_2.2 sigignore F GLIBC_2.2 sigqueue F @@ -2536,6 +2537,7 @@ GLIBC_2.34 sem_timedwait F GLIBC_2.34 sem_trywait F GLIBC_2.34 sem_unlink F GLIBC_2.34 sem_wait F +GLIBC_2.34 shm_open F GLIBC_2.34 thrd_create F GLIBC_2.34 thrd_detach F GLIBC_2.34 thrd_exit F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist index c4dd28e..b187230 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist @@ -15,7 +15,6 @@ GLIBC_2.2 aio_write F GLIBC_2.2 aio_write64 F GLIBC_2.2 lio_listio F GLIBC_2.2 lio_listio64 F -GLIBC_2.2 shm_open F GLIBC_2.2 shm_unlink F GLIBC_2.2 timer_create F GLIBC_2.2 timer_delete F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist index 485a012..494829a 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist @@ -1935,6 +1935,7 @@ GLIBC_2.2 sem_wait F GLIBC_2.2 sendfile F GLIBC_2.2 setrlimit64 F GLIBC_2.2 setutxent F +GLIBC_2.2 shm_open F GLIBC_2.2 sighold F GLIBC_2.2 sigignore F GLIBC_2.2 sigqueue F @@ -2454,6 +2455,7 @@ GLIBC_2.34 sem_timedwait F GLIBC_2.34 sem_trywait F GLIBC_2.34 sem_unlink F GLIBC_2.34 sem_wait F +GLIBC_2.34 shm_open F GLIBC_2.34 thrd_create F GLIBC_2.34 thrd_detach F GLIBC_2.34 thrd_exit F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist index 1539c1c..e62ed45 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist @@ -15,7 +15,6 @@ GLIBC_2.2 aio_write F GLIBC_2.2 aio_write64 F GLIBC_2.2 lio_listio F GLIBC_2.2 lio_listio64 F -GLIBC_2.2 shm_open F GLIBC_2.2 shm_unlink F GLIBC_2.2 timer_create F GLIBC_2.2 timer_delete F -- cgit v1.1