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. --- sysdeps/unix/sysv/linux/open64.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/open64.c') diff --git a/sysdeps/unix/sysv/linux/open64.c b/sysdeps/unix/sysv/linux/open64.c index 98db26f..0904696 100644 --- a/sysdeps/unix/sysv/linux/open64.c +++ b/sysdeps/unix/sysv/linux/open64.c @@ -20,8 +20,8 @@ #include #include #include - #include +#include #ifdef __OFF_T_MATCHES_OFF64_T @@ -59,3 +59,7 @@ strong_alias (__libc_open64, __open) libc_hidden_weak (__open) weak_alias (__libc_open64, open) #endif + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2) +compat_symbol (libc, __libc_open64, open64, GLIBC_2_2); +#endif -- cgit v1.1