about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-13 19:47:44 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:37:18 -0300
commit4c8cb283ec1993c57c7c1ff3577942b3f13145d0 (patch)
tree19b2f5cb839b116511568757f4b95d490a70aeab /nptl
parentdd795c6c243987e9974d2b9457f035dcb9b6e51f (diff)
downloadglibc-4c8cb283ec1993c57c7c1ff3577942b3f13145d0.tar.gz
glibc-4c8cb283ec1993c57c7c1ff3577942b3f13145d0.tar.xz
glibc-4c8cb283ec1993c57c7c1ff3577942b3f13145d0.zip
nptl: Remove pwrite from libpthread
The libc version is identical and built with same flags, it is also
uses as the default version.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile3
-rw-r--r--nptl/Versions3
2 files changed, 0 insertions, 6 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index e2dd6d47a2..c5ad85507d 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,6 @@ static-only-routines = pthread_atfork
 # We need to provide certain routines for compatibility with existing
 # binaries.
 pthread-compat-wrappers = \
-		      pwrite pwrite64 \
 		      msgrcv msgsnd \
 		      sigsuspend \
 
@@ -280,8 +279,6 @@ CFLAGS-sem_clockwait.c = -fexceptions -fasynchronous-unwind-tables
 
 # These are the function wrappers we have to duplicate here.
 CFLAGS-lockf.c += -fexceptions
-CFLAGS-pwrite.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-pwrite64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-msgsnd.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index 10d8ea0629..674b31e87e 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -223,7 +223,6 @@ libpthread {
     __pthread_rwlock_trywrlock;
     __pthread_rwlock_unlock;
     __pthread_rwlock_wrlock;
-    __pwrite64;
     __res_state;
     pthread_attr_getstack;
     pthread_attr_setstack;
@@ -247,8 +246,6 @@ libpthread {
     pthread_spin_trylock;
     pthread_spin_unlock;
     pthread_yield;
-    pwrite64;
-    pwrite;
     sem_timedwait;
   }