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 /rt/Makefile | |
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 'rt/Makefile')
-rw-r--r-- | rt/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile index 47bc594dee..ba141c82f2 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -24,6 +24,9 @@ include ../Makeconfig headers := aio.h mqueue.h bits/mqueue.h bits/mqueue2.h +routines = \ + shm_open \ + librt-routines = \ aio_cancel \ aio_error \ @@ -49,7 +52,6 @@ librt-routines = \ mq_timedreceive \ mq_timedsend \ mq_unlink \ - shm_open \ shm_unlink \ timer_create \ timer_delete \ |