diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-21 08:25:15 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-21 08:25:15 +0200 |
commit | c6e7ec2f123bceb323836cc4558f9586959ebf58 (patch) | |
tree | 9fc6a7af72b75e9996ed0e0c90278f976737e3ab /sysdeps/unix/sysv/linux/powerpc | |
parent | a749a00fb55e7ee7ede658ef12de4c7de1570b99 (diff) | |
download | glibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.tar.gz glibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.tar.xz glibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.zip |
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 <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
7 files changed, 8 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index 5a87b36192..5bfa644345 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -2041,6 +2041,7 @@ GLIBC_2.2 scandir64 F GLIBC_2.2 sem_timedwait F GLIBC_2.2 semctl F GLIBC_2.2 setrlimit F +GLIBC_2.2 shm_open F GLIBC_2.2 shmctl F GLIBC_2.2 svc_getreq_common F GLIBC_2.2 svc_getreq_poll F @@ -2592,6 +2593,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/powerpc/powerpc32/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist index 463a88a1df..9330ab2679 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist @@ -15,7 +15,6 @@ GLIBC_2.1 aio_write F GLIBC_2.1 aio_write64 F GLIBC_2.1 lio_listio F GLIBC_2.1 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/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index 413bb1d87a..4d2899b97b 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -2045,6 +2045,7 @@ GLIBC_2.2 scandir64 F GLIBC_2.2 sem_timedwait F GLIBC_2.2 semctl F GLIBC_2.2 setrlimit F +GLIBC_2.2 shm_open F GLIBC_2.2 shmctl F GLIBC_2.2 svc_getreq_common F GLIBC_2.2 svc_getreq_poll F @@ -2625,6 +2626,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/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist index 3ff4d977f7..1b03a7b2b2 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist @@ -1684,6 +1684,7 @@ GLIBC_2.3 setvbuf F GLIBC_2.3 setxattr F GLIBC_2.3 sgetspent F GLIBC_2.3 sgetspent_r F +GLIBC_2.3 shm_open F GLIBC_2.3 shmat F GLIBC_2.3 shmctl F GLIBC_2.3 shmdt F @@ -2362,6 +2363,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/powerpc/powerpc64/be/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist index 6a5bd96963..ce776089f4 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist @@ -15,7 +15,6 @@ GLIBC_2.3 aio_write F GLIBC_2.3 aio_write64 F GLIBC_2.3 lio_listio F GLIBC_2.3 lio_listio64 F -GLIBC_2.3 shm_open F GLIBC_2.3 shm_unlink F GLIBC_2.3 timer_create F GLIBC_2.3 timer_delete F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist index c2c5c605ac..e69840ef13 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist @@ -1871,6 +1871,7 @@ GLIBC_2.17 sgetsgent F GLIBC_2.17 sgetsgent_r F GLIBC_2.17 sgetspent F GLIBC_2.17 sgetspent_r F +GLIBC_2.17 shm_open F GLIBC_2.17 shmat F GLIBC_2.17 shmctl F GLIBC_2.17 shmdt F @@ -2661,6 +2662,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/powerpc/powerpc64/le/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist index 5e81c82a25..7ebb55d15e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist @@ -26,7 +26,6 @@ GLIBC_2.17 mq_setattr F GLIBC_2.17 mq_timedreceive F GLIBC_2.17 mq_timedsend F GLIBC_2.17 mq_unlink F -GLIBC_2.17 shm_open F GLIBC_2.17 shm_unlink F GLIBC_2.17 timer_create F GLIBC_2.17 timer_delete F |