about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 20:29:57 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 15:54:39 -0300
commit0c9d4925fe3fbd3624a38434ffb08afe43d8aa85 (patch)
tree987d00cd690963f53c7371d30202a1fdabbfbed9 /nptl
parentfc495dc4e98eb3b96b980293b609e5786d30fc21 (diff)
downloadglibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.tar.gz
glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.tar.xz
glibc-0c9d4925fe3fbd3624a38434ffb08afe43d8aa85.zip
nptl: Remove msync from libpthread
The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile3
-rw-r--r--nptl/Versions1
2 files changed, 1 insertions, 3 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;