aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 16:22:44 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 08:21:29 -0300
commitbaab50cfb9b7e31e18f1ecfb463c1908454ce81d (patch)
tree8dcd3c863a10368b5e3744842c60a78572f74962 /nptl
parent173e0ab081b5bb38455785fe19ab4aa3834c1c8a (diff)
downloadglibc-baab50cfb9b7e31e18f1ecfb463c1908454ce81d.zip
glibc-baab50cfb9b7e31e18f1ecfb463c1908454ce81d.tar.gz
glibc-baab50cfb9b7e31e18f1ecfb463c1908454ce81d.tar.bz2
nptl: Remove read 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/Versions2
2 files changed, 1 insertions, 4 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index d692190..64bbe12 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 3e61d06..add7916 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;