diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-05-15 11:01:49 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-20 20:27:49 +0200 |
commit | 07a73d521988a7fdea1bb3c3b5bbb2b23a0da2e1 (patch) | |
tree | 98f7dc6b3c80ec12f8f5a2fa759bc03e09de453a /sysdeps/unix/sysv/linux/powerpc | |
parent | 52302bc298c99dc0d2ca3d1b07b4349129babae3 (diff) | |
download | glibc-07a73d521988a7fdea1bb3c3b5bbb2b23a0da2e1.tar.gz glibc-07a73d521988a7fdea1bb3c3b5bbb2b23a0da2e1.tar.xz glibc-07a73d521988a7fdea1bb3c3b5bbb2b23a0da2e1.zip |
nptl: Move pthread_gettattr_np into libc
This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> Use __getline instead of __getdelim to avoid a localplt failure. Likewise for __getrlimit/getrlimit. The abilist updates were performed by: git ls-files 'sysdeps/unix/sysv/linux/**/libc.abilist' \ | while read x ; do echo "GLIBC_2.32 pthread_getattr_np F" >> $x done python3 scripts/move-symbol-to-libc.py --only-linux pthread_getattr_np The private export of __pthread_getaffinity_np is no longer needed, but the hidden alias still necessary so that the symbol can be exported with versioned_symbol. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
7 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index 6483f68273..bfc8185b0e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -1942,6 +1942,7 @@ GLIBC_2.2.3 __rpc_thread_svc_fdset F GLIBC_2.2.3 __rpc_thread_svc_max_pollfd F GLIBC_2.2.3 __rpc_thread_svc_pollfd F GLIBC_2.2.3 fnmatch F +GLIBC_2.2.3 pthread_getattr_np F GLIBC_2.2.3 sprofil F GLIBC_2.2.4 dl_iterate_phdr F GLIBC_2.2.4 getgrouplist F @@ -2192,6 +2193,7 @@ GLIBC_2.30 tgkill F GLIBC_2.30 twalk_r F GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_getaffinity_np F +GLIBC_2.32 pthread_getattr_np F GLIBC_2.32 pthread_sigmask F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 4307193cb2..13b41dafb6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -177,7 +177,7 @@ GLIBC_2.2 pthread_yield F GLIBC_2.2 pwrite F GLIBC_2.2 pwrite64 F GLIBC_2.2 sem_timedwait F -GLIBC_2.2.3 pthread_getattr_np F +GLIBC_2.2.3 __libpthread_version_placeholder F GLIBC_2.2.6 __libpthread_version_placeholder F GLIBC_2.28 call_once F GLIBC_2.28 cnd_broadcast F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index 405a39cbd0..9a889f1bc6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -1946,6 +1946,7 @@ GLIBC_2.2.3 __rpc_thread_svc_fdset F GLIBC_2.2.3 __rpc_thread_svc_max_pollfd F GLIBC_2.2.3 __rpc_thread_svc_pollfd F GLIBC_2.2.3 fnmatch F +GLIBC_2.2.3 pthread_getattr_np F GLIBC_2.2.3 sprofil F GLIBC_2.2.4 dl_iterate_phdr F GLIBC_2.2.4 getgrouplist F @@ -2225,6 +2226,7 @@ GLIBC_2.30 tgkill F GLIBC_2.30 twalk_r F GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_getaffinity_np F +GLIBC_2.32 pthread_getattr_np F GLIBC_2.32 pthread_sigmask F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist index b1286be61e..b69f4b126f 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist @@ -1371,6 +1371,7 @@ GLIBC_2.3 pthread_condattr_destroy F GLIBC_2.3 pthread_condattr_init F GLIBC_2.3 pthread_equal F GLIBC_2.3 pthread_exit F +GLIBC_2.3 pthread_getattr_np F GLIBC_2.3 pthread_getschedparam F GLIBC_2.3 pthread_mutex_destroy F GLIBC_2.3 pthread_mutex_init F @@ -2055,6 +2056,7 @@ GLIBC_2.30 tgkill F GLIBC_2.30 twalk_r F GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_getaffinity_np F +GLIBC_2.32 pthread_getattr_np F GLIBC_2.32 pthread_sigmask F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 41a9f178a2..e9477a3584 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -114,7 +114,6 @@ GLIBC_2.3 pthread_condattr_setpshared F GLIBC_2.3 pthread_create F GLIBC_2.3 pthread_detach F GLIBC_2.3 pthread_exit F -GLIBC_2.3 pthread_getattr_np F GLIBC_2.3 pthread_getconcurrency F GLIBC_2.3 pthread_getcpuclockid F GLIBC_2.3 pthread_getspecific F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist index c9016bfc8a..a07753847d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist @@ -1529,6 +1529,7 @@ GLIBC_2.17 pthread_condattr_init F GLIBC_2.17 pthread_equal F GLIBC_2.17 pthread_exit F GLIBC_2.17 pthread_getaffinity_np F +GLIBC_2.17 pthread_getattr_np F GLIBC_2.17 pthread_getschedparam F GLIBC_2.17 pthread_mutex_destroy F GLIBC_2.17 pthread_mutex_init F @@ -2345,4 +2346,5 @@ GLIBC_2.32 __wprintfieee128 F GLIBC_2.32 __wscanfieee128 F GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_getaffinity_np F +GLIBC_2.32 pthread_getattr_np F GLIBC_2.32 pthread_sigmask F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 77cf95c491..c6b4ea2dc1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -95,7 +95,6 @@ GLIBC_2.17 pthread_condattr_setpshared F GLIBC_2.17 pthread_create F GLIBC_2.17 pthread_detach F GLIBC_2.17 pthread_exit F -GLIBC_2.17 pthread_getattr_np F GLIBC_2.17 pthread_getconcurrency F GLIBC_2.17 pthread_getcpuclockid F GLIBC_2.17 pthread_getname_np F |