diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 16:47:45 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-18 15:54:39 -0300 |
commit | fc495dc4e98eb3b96b980293b609e5786d30fc21 (patch) | |
tree | 9b33867ef3a14a41aa44df6ea26f7caa873ea36f | |
parent | 6f2e00cac58600329d187cc14fd7a7f1597e54c8 (diff) | |
download | glibc-fc495dc4e98eb3b96b980293b609e5786d30fc21.zip glibc-fc495dc4e98eb3b96b980293b609e5786d30fc21.tar.gz glibc-fc495dc4e98eb3b96b980293b609e5786d30fc21.tar.bz2 |
nptl: Remove fsync 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 72b0c04..2b00bed 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -82,7 +82,7 @@ static-only-routines = pthread_atfork # binaries. pthread-compat-wrappers = \ send \ - fsync lseek lseek64 \ + lseek lseek64 \ msync open open64 pause \ pread pread64 pwrite pwrite64 \ tcdrain msgrcv msgsnd \ @@ -304,7 +304,6 @@ 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-fsync.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-pt-system.c += -fexceptions diff --git a/nptl/Versions b/nptl/Versions index 9e00ad3..62a9e37 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -130,7 +130,6 @@ libpthread { _pthread_cleanup_push_defer; fcntl; flockfile; - fsync; ftrylockfile; funlockfile; longjmp; diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 541ca38..e92d48e 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.17 _pthread_cleanup_push F GLIBC_2.17 _pthread_cleanup_push_defer F GLIBC_2.17 fcntl F GLIBC_2.17 flockfile F -GLIBC_2.17 fsync F GLIBC_2.17 ftrylockfile F GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 96b0b1b..0fe52e9 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index d5fe586..8ac1423 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.32 cnd_signal F GLIBC_2.32 cnd_timedwait F GLIBC_2.32 cnd_wait F GLIBC_2.32 flockfile F -GLIBC_2.32 fsync F GLIBC_2.32 ftrylockfile F GLIBC_2.32 funlockfile F GLIBC_2.32 lseek F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 51a222b..92c12a2 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -81,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_push F GLIBC_2.4 _pthread_cleanup_push_defer F GLIBC_2.4 fcntl F GLIBC_2.4 flockfile F -GLIBC_2.4 fsync F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 51a222b..92c12a2 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -81,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_push F GLIBC_2.4 _pthread_cleanup_push_defer F GLIBC_2.4 fcntl F GLIBC_2.4 flockfile F -GLIBC_2.4 fsync F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 2da448b..be9d31b 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.29 cnd_signal F GLIBC_2.29 cnd_timedwait F GLIBC_2.29 cnd_wait F GLIBC_2.29 flockfile F -GLIBC_2.29 fsync F GLIBC_2.29 ftrylockfile F GLIBC_2.29 funlockfile F GLIBC_2.29 lseek F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index fd2d452..2f5d4d1 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index 23ee7dd..b4043aa 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index d91bd13..e7cb305 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 51a222b..92c12a2 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -81,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_push F GLIBC_2.4 _pthread_cleanup_push_defer F GLIBC_2.4 fcntl F GLIBC_2.4 flockfile F -GLIBC_2.4 fsync F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index 23ee7dd..b4043aa 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 6e8c040..85e0c3a 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.18 _pthread_cleanup_push F GLIBC_2.18 _pthread_cleanup_push_defer F GLIBC_2.18 fcntl F GLIBC_2.18 flockfile F -GLIBC_2.18 fsync F GLIBC_2.18 ftrylockfile F GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 6e8c040..85e0c3a 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.18 _pthread_cleanup_push F GLIBC_2.18 _pthread_cleanup_push_defer F GLIBC_2.18 fcntl F GLIBC_2.18 flockfile F -GLIBC_2.18 fsync F GLIBC_2.18 ftrylockfile F GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 80f14f6..7b18697 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 80f14f6..7b18697 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 2c881be..ff38d3a 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.21 _pthread_cleanup_push F GLIBC_2.21 _pthread_cleanup_push_defer F GLIBC_2.21 fcntl F GLIBC_2.21 flockfile F -GLIBC_2.21 fsync F GLIBC_2.21 ftrylockfile F GLIBC_2.21 funlockfile F GLIBC_2.21 longjmp F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index d8de859..950e1e5 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index c2eb284..5739829 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -69,7 +69,6 @@ GLIBC_2.3 _pthread_cleanup_push F GLIBC_2.3 _pthread_cleanup_push_defer F GLIBC_2.3 fcntl F GLIBC_2.3 flockfile F -GLIBC_2.3 fsync F GLIBC_2.3 ftrylockfile F GLIBC_2.3 funlockfile F GLIBC_2.3 longjmp F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 541ca38..e92d48e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.17 _pthread_cleanup_push F GLIBC_2.17 _pthread_cleanup_push_defer F GLIBC_2.17 fcntl F GLIBC_2.17 flockfile F -GLIBC_2.17 fsync F GLIBC_2.17 ftrylockfile F GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 176be14..887c108 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -51,7 +51,6 @@ GLIBC_2.33 cnd_signal F GLIBC_2.33 cnd_timedwait F GLIBC_2.33 cnd_wait F GLIBC_2.33 flockfile F -GLIBC_2.33 fsync F GLIBC_2.33 ftrylockfile F GLIBC_2.33 funlockfile F GLIBC_2.33 lseek F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index e8ea0eb..2bb829f 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.27 _pthread_cleanup_push F GLIBC_2.27 _pthread_cleanup_push_defer F GLIBC_2.27 fcntl F GLIBC_2.27 flockfile F -GLIBC_2.27 fsync F GLIBC_2.27 ftrylockfile F GLIBC_2.27 funlockfile F GLIBC_2.27 lseek F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index 8524fd8..4287e33 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index b34a38b..92fd430 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -50,7 +50,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index fd2d452..2f5d4d1 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index fd2d452..2f5d4d1 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 96b0b1b..0fe52e9 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -26,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_push F GLIBC_2.0 _pthread_cleanup_push_defer F GLIBC_2.0 fcntl F GLIBC_2.0 flockfile F -GLIBC_2.0 fsync F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index d91bd13..e7cb305 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_push F GLIBC_2.2 _pthread_cleanup_push_defer F GLIBC_2.2 fcntl F GLIBC_2.2 flockfile F -GLIBC_2.2 fsync F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index f37d526..e85ca37 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -48,7 +48,6 @@ GLIBC_2.2.5 _pthread_cleanup_push F GLIBC_2.2.5 _pthread_cleanup_push_defer F GLIBC_2.2.5 fcntl F GLIBC_2.2.5 flockfile F -GLIBC_2.2.5 fsync F GLIBC_2.2.5 ftrylockfile F GLIBC_2.2.5 funlockfile F GLIBC_2.2.5 longjmp F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index dc776ad..5a16233 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.16 _pthread_cleanup_push F GLIBC_2.16 _pthread_cleanup_push_defer F GLIBC_2.16 fcntl F GLIBC_2.16 flockfile F -GLIBC_2.16 fsync F GLIBC_2.16 ftrylockfile F GLIBC_2.16 funlockfile F GLIBC_2.16 longjmp F |