From c5c3588475eece698f965c4066c2e8e425027320 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 17:08:00 -0300 Subject: nptl: Remove lseek from libpthread The libc version is identical and built with same flags. The libc version is set as the default version. The libpthread compat symbol requires to mask it when building the loader object otherwise ld might complain about a missing versioned symbol (as for alpha). Checked on x86_64-linux-gnu. --- sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist | 3 --- sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist | 3 --- sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist | 3 --- 5 files changed, 2 insertions(+), 9 deletions(-) (limited to 'sysdeps/unix/sysv/linux/powerpc') diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index 76a16e2a6d..e6fd54355e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -1866,6 +1866,7 @@ GLIBC_2.2 getwchar_unlocked F GLIBC_2.2 glob64 F GLIBC_2.2 iruserok_af F GLIBC_2.2 localeconv F +GLIBC_2.2 lseek64 F GLIBC_2.2 mcheck_check_all F GLIBC_2.2 mcheck_pedantic F GLIBC_2.2 memrchr F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 72d5782419..1322e933fe 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __lseek F GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F @@ -26,7 +25,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 lseek F GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F @@ -122,7 +120,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 lseek64 F GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index 697f072fd4..fbacd7a032 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -1870,6 +1870,7 @@ GLIBC_2.2 getwchar_unlocked F GLIBC_2.2 glob64 F GLIBC_2.2 iruserok_af F GLIBC_2.2 localeconv F +GLIBC_2.2 lseek64 F GLIBC_2.2 mcheck_check_all F GLIBC_2.2 mcheck_pedantic F GLIBC_2.2 memrchr F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 31e636b59b..4074b94854 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -35,7 +35,6 @@ GLIBC_2.3 __h_errno_location F GLIBC_2.3 __libc_allocate_rtsig F GLIBC_2.3 __libc_current_sigrtmax F GLIBC_2.3 __libc_current_sigrtmin F -GLIBC_2.3 __lseek F GLIBC_2.3 __open F GLIBC_2.3 __open64 F GLIBC_2.3 __pread64 F @@ -69,8 +68,6 @@ GLIBC_2.3 flockfile F GLIBC_2.3 ftrylockfile F GLIBC_2.3 funlockfile F GLIBC_2.3 longjmp F -GLIBC_2.3 lseek F -GLIBC_2.3 lseek64 F GLIBC_2.3 open F GLIBC_2.3 open64 F GLIBC_2.3 pread F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index beeb6c64c7..b7e002e258 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -6,7 +6,6 @@ GLIBC_2.17 __h_errno_location F GLIBC_2.17 __libc_allocate_rtsig F GLIBC_2.17 __libc_current_sigrtmax F GLIBC_2.17 __libc_current_sigrtmin F -GLIBC_2.17 __lseek F GLIBC_2.17 __open F GLIBC_2.17 __open64 F GLIBC_2.17 __pread64 F @@ -46,8 +45,6 @@ GLIBC_2.17 flockfile F GLIBC_2.17 ftrylockfile F GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F -GLIBC_2.17 lseek F -GLIBC_2.17 lseek64 F GLIBC_2.17 open F GLIBC_2.17 open64 F GLIBC_2.17 pread F -- cgit 1.4.1