From 40873cdd38533a00f3d4f67b85fd5c0a07d7952e Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 20:54:13 -0300 Subject: nptl: Remove open from libpthread The libc version is identical and built with same flags. The libc version is set as the default version. Checked on x86_64-linux-gnu. --- nptl/Makefile | 3 --- nptl/Versions | 4 ---- 2 files changed, 7 deletions(-) (limited to 'nptl') diff --git a/nptl/Makefile b/nptl/Makefile index 6a38dc5..6ebba19 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 = \ - open open64 \ pread pread64 pwrite pwrite64 \ msgrcv msgsnd \ sigsuspend \ @@ -288,8 +287,6 @@ 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 -CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables -CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables diff --git a/nptl/Versions b/nptl/Versions index 7118403..b16871d 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -105,7 +105,6 @@ libpthread { _IO_funlockfile; __errno_location; __h_errno_location; - __open; __pthread_atfork; __pthread_getspecific; __pthread_key_create; @@ -129,7 +128,6 @@ libpthread { ftrylockfile; funlockfile; longjmp; - open; pthread_atfork; pthread_cancel; pthread_cond_broadcast; @@ -218,7 +216,6 @@ libpthread { } GLIBC_2.2 { - __open64; __pread64; __pthread_rwlock_destroy; __pthread_rwlock_init; @@ -229,7 +226,6 @@ libpthread { __pthread_rwlock_wrlock; __pwrite64; __res_state; - open64; pread64; pread; pthread_attr_getstack; -- cgit v1.1