From baab50cfb9b7e31e18f1ecfb463c1908454ce81d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 16:22:44 -0300 Subject: nptl: Remove read from libpthread The libc version is identical and built with same flags. Checked on x86_64-linux-gnu. --- nptl/Makefile | 3 +-- nptl/Versions | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'nptl') diff --git a/nptl/Makefile b/nptl/Makefile index d692190611..64bbe1243e 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -81,7 +81,7 @@ static-only-routines = pthread_atfork # We need to provide certain routines for compatibility with existing # binaries. pthread-compat-wrappers = \ - read close accept \ + close accept \ connect recv recvfrom send \ sendto fsync lseek lseek64 \ msync open open64 pause \ @@ -308,7 +308,6 @@ CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables -CFLAGS-read.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 diff --git a/nptl/Versions b/nptl/Versions index 3e61d06908..add7916c4d 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -123,7 +123,6 @@ libpthread { __pthread_mutexattr_settype; __pthread_once; __pthread_setspecific; - __read; __send; __sigaction; _exit; @@ -175,7 +174,6 @@ libpthread { pthread_sigmask; pthread_testcancel; raise; - read; recv; recvfrom; recvmsg; -- cgit v1.2.3