diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 20:29:57 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | 0c9d4925fe3fbd3624a38434ffb08afe43d8aa85 (patch) | |
tree | 987d00cd690963f53c7371d30202a1fdabbfbed9 | |
parent | fc495dc4e98eb3b96b980293b609e5786d30fc21 (diff) | |
download | glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.tar glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.tar.gz glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.tar.bz2 glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.zip |
nptl: Remove msync from libpthread
The libc version is identical and built with same flags.
Checked on x86_64-linux-gnu.
31 files changed, 1 insertions, 32 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 2b00bedf55..c4aa369e55 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -83,7 +83,7 @@ static-only-routines = pthread_atfork pthread-compat-wrappers = \ send \ lseek lseek64 \ - msync open open64 pause \ + open open64 pause \ pread pread64 pwrite pwrite64 \ tcdrain msgrcv msgsnd \ sigwait sigsuspend \ @@ -302,7 +302,6 @@ CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables -CFLAGS-msync.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-pt-system.c += -fexceptions diff --git a/nptl/Versions b/nptl/Versions index 62a9e37e13..253b5c7597 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -134,7 +134,6 @@ libpthread { funlockfile; longjmp; lseek; - msync; open; pause; pthread_atfork; diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index e92d48ec50..3aa2b91b4f 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F GLIBC_2.17 lseek F GLIBC_2.17 lseek64 F -GLIBC_2.17 msync F GLIBC_2.17 open F GLIBC_2.17 open64 F GLIBC_2.17 pause F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 0fe52e9501..039efa03bb 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index 8ac1423f14..7cf8ec1d3d 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -55,7 +55,6 @@ GLIBC_2.32 ftrylockfile F GLIBC_2.32 funlockfile F GLIBC_2.32 lseek F GLIBC_2.32 lseek64 F -GLIBC_2.32 msync F GLIBC_2.32 mtx_destroy F GLIBC_2.32 mtx_init F GLIBC_2.32 mtx_lock F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 92c12a22a9..d68e8114e3 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -86,7 +86,6 @@ GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F GLIBC_2.4 lseek F GLIBC_2.4 lseek64 F -GLIBC_2.4 msync F GLIBC_2.4 open F GLIBC_2.4 open64 F GLIBC_2.4 pause F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 92c12a22a9..d68e8114e3 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -86,7 +86,6 @@ GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F GLIBC_2.4 lseek F GLIBC_2.4 lseek64 F -GLIBC_2.4 msync F GLIBC_2.4 open F GLIBC_2.4 open64 F GLIBC_2.4 pause F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index be9d31b3d5..87ee7b8f20 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -55,7 +55,6 @@ GLIBC_2.29 ftrylockfile F GLIBC_2.29 funlockfile F GLIBC_2.29 lseek F GLIBC_2.29 lseek64 F -GLIBC_2.29 msync F GLIBC_2.29 mtx_destroy F GLIBC_2.29 mtx_init F GLIBC_2.29 mtx_lock F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index 2f5d4d1a74..5013d7fadb 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index b4043aaeae..5337eae20c 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index e7cb305bf5..d4de904650 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 92c12a22a9..d68e8114e3 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -86,7 +86,6 @@ GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F GLIBC_2.4 lseek F GLIBC_2.4 lseek64 F -GLIBC_2.4 msync F GLIBC_2.4 open F GLIBC_2.4 open64 F GLIBC_2.4 pause F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index b4043aaeae..5337eae20c 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 85e0c3a6b8..490a8cc9cf 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F GLIBC_2.18 lseek F GLIBC_2.18 lseek64 F -GLIBC_2.18 msync F GLIBC_2.18 open F GLIBC_2.18 open64 F GLIBC_2.18 pause F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 85e0c3a6b8..490a8cc9cf 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F GLIBC_2.18 lseek F GLIBC_2.18 lseek64 F -GLIBC_2.18 msync F GLIBC_2.18 open F GLIBC_2.18 open64 F GLIBC_2.18 pause F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 7b18697309..a6d364c758 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 7b18697309..a6d364c758 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index ff38d3ae8d..0094d0ddb1 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.21 funlockfile F GLIBC_2.21 longjmp F GLIBC_2.21 lseek F GLIBC_2.21 lseek64 F -GLIBC_2.21 msync F GLIBC_2.21 open F GLIBC_2.21 open64 F GLIBC_2.21 pause F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 950e1e5cc5..f7f4307482 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 5739829e5d..b3597d7798 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -74,7 +74,6 @@ GLIBC_2.3 funlockfile F GLIBC_2.3 longjmp F GLIBC_2.3 lseek F GLIBC_2.3 lseek64 F -GLIBC_2.3 msync F GLIBC_2.3 open F GLIBC_2.3 open64 F GLIBC_2.3 pause F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index e92d48ec50..3aa2b91b4f 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F GLIBC_2.17 lseek F GLIBC_2.17 lseek64 F -GLIBC_2.17 msync F GLIBC_2.17 open F GLIBC_2.17 open64 F GLIBC_2.17 pause F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 887c10879b..ae188c32ba 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -55,7 +55,6 @@ GLIBC_2.33 ftrylockfile F GLIBC_2.33 funlockfile F GLIBC_2.33 lseek F GLIBC_2.33 lseek64 F -GLIBC_2.33 msync F GLIBC_2.33 mtx_destroy F GLIBC_2.33 mtx_init F GLIBC_2.33 mtx_lock F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 2bb829f57d..50faa53a6d 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -50,7 +50,6 @@ GLIBC_2.27 ftrylockfile F GLIBC_2.27 funlockfile F GLIBC_2.27 lseek F GLIBC_2.27 lseek64 F -GLIBC_2.27 msync F GLIBC_2.27 open F GLIBC_2.27 open64 F GLIBC_2.27 pause F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index 4287e33813..2bc4d9bf2d 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 92fd430f69..c6cebf9667 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -55,7 +55,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index 2f5d4d1a74..5013d7fadb 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index 2f5d4d1a74..5013d7fadb 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 0fe52e9501..039efa03bb 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -30,7 +30,6 @@ GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F GLIBC_2.0 lseek F -GLIBC_2.0 msync F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index e7cb305bf5..d4de904650 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F GLIBC_2.2 lseek F GLIBC_2.2 lseek64 F -GLIBC_2.2 msync F GLIBC_2.2 open F GLIBC_2.2 open64 F GLIBC_2.2 pause F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index e85ca37dd0..2b38f7a569 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -53,7 +53,6 @@ GLIBC_2.2.5 funlockfile F GLIBC_2.2.5 longjmp F GLIBC_2.2.5 lseek F GLIBC_2.2.5 lseek64 F -GLIBC_2.2.5 msync F GLIBC_2.2.5 open F GLIBC_2.2.5 open64 F GLIBC_2.2.5 pause F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 5a16233283..972394edd8 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.16 funlockfile F GLIBC_2.16 longjmp F GLIBC_2.16 lseek F GLIBC_2.16 lseek64 F -GLIBC_2.16 msync F GLIBC_2.16 open F GLIBC_2.16 open64 F GLIBC_2.16 pause F |