diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-05-15 17:51:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-20 20:22:59 +0200 |
commit | 1979819d680bb5394a878261519f8a3e4a2886a1 (patch) | |
tree | cd871a594a5fd9e7aba416a8938f43c36e8c428f /sysdeps/unix/sysv/linux/sh | |
parent | 714da1d4eac32400187255254dd40334b48b80f3 (diff) | |
download | glibc-1979819d680bb5394a878261519f8a3e4a2886a1.tar.gz |
nptl: Move pthread_attr_setaffinity_np into libc
This is part of the libpthread removal project:
<https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>
The symbol did not previously exist in libc, so a new GLIBC_2.32
symbol is needed, to get correct dependency for binaries which
use the symbol but no longer link against libpthread.
The abilist updates were performed by:
git ls-files 'sysdeps/unix/sysv/linux/**/libc.abilist' \
| while read x ; do
echo "GLIBC_2.32 pthread_attr_setaffinity_np F" >> $x
done
python3 scripts/move-symbol-to-libc.py pthread_attr_setaffinity_np
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/be/libc.abilist | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/be/libpthread.abilist | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/le/libc.abilist | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/le/libpthread.abilist | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist index 7ad2e920c3..8a676b0833 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist @@ -2012,6 +2012,7 @@ GLIBC_2.3.3 nftw F GLIBC_2.3.3 nftw64 F GLIBC_2.3.3 posix_fadvise64 F GLIBC_2.3.3 posix_fallocate64 F +GLIBC_2.3.3 pthread_attr_setaffinity_np F GLIBC_2.3.3 remap_file_pages F GLIBC_2.3.3 sched_getaffinity F GLIBC_2.3.3 sched_setaffinity F @@ -2040,6 +2041,7 @@ GLIBC_2.3.4 __vsprintf_chk F GLIBC_2.3.4 __xpg_strerror_r F GLIBC_2.3.4 getipv4sourcefilter F GLIBC_2.3.4 getsourcefilter F +GLIBC_2.3.4 pthread_attr_setaffinity_np F GLIBC_2.3.4 regexec F GLIBC_2.3.4 sched_getaffinity F GLIBC_2.3.4 sched_setaffinity F @@ -2054,6 +2056,7 @@ GLIBC_2.30 twalk_r F GLIBC_2.31 msgctl F GLIBC_2.31 semctl F GLIBC_2.31 shmctl F +GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_sigmask F GLIBC_2.4 __confstr_chk F GLIBC_2.4 __fgets_chk F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index 558d3f0dfd..4f2ed9e841 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -203,7 +203,6 @@ GLIBC_2.3.3 __pthread_unregister_cancel F GLIBC_2.3.3 __pthread_unregister_cancel_restore F GLIBC_2.3.3 __pthread_unwind_next F GLIBC_2.3.3 pthread_attr_getaffinity_np F -GLIBC_2.3.3 pthread_attr_setaffinity_np F GLIBC_2.3.3 pthread_barrierattr_getpshared F GLIBC_2.3.3 pthread_condattr_getclock F GLIBC_2.3.3 pthread_condattr_setclock F @@ -212,7 +211,6 @@ GLIBC_2.3.3 pthread_setaffinity_np F GLIBC_2.3.3 pthread_timedjoin_np F GLIBC_2.3.3 pthread_tryjoin_np F GLIBC_2.3.4 pthread_attr_getaffinity_np F -GLIBC_2.3.4 pthread_attr_setaffinity_np F GLIBC_2.3.4 pthread_getaffinity_np F GLIBC_2.3.4 pthread_setaffinity_np F GLIBC_2.3.4 pthread_setschedprio F diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist index d2611bf0a5..e6f7e1b02d 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist @@ -2012,6 +2012,7 @@ GLIBC_2.3.3 nftw F GLIBC_2.3.3 nftw64 F GLIBC_2.3.3 posix_fadvise64 F GLIBC_2.3.3 posix_fallocate64 F +GLIBC_2.3.3 pthread_attr_setaffinity_np F GLIBC_2.3.3 remap_file_pages F GLIBC_2.3.3 sched_getaffinity F GLIBC_2.3.3 sched_setaffinity F @@ -2040,6 +2041,7 @@ GLIBC_2.3.4 __vsprintf_chk F GLIBC_2.3.4 __xpg_strerror_r F GLIBC_2.3.4 getipv4sourcefilter F GLIBC_2.3.4 getsourcefilter F +GLIBC_2.3.4 pthread_attr_setaffinity_np F GLIBC_2.3.4 regexec F GLIBC_2.3.4 sched_getaffinity F GLIBC_2.3.4 sched_setaffinity F @@ -2051,6 +2053,7 @@ GLIBC_2.30 getdents64 F GLIBC_2.30 gettid F GLIBC_2.30 tgkill F GLIBC_2.30 twalk_r F +GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_sigmask F GLIBC_2.4 __confstr_chk F GLIBC_2.4 __fgets_chk F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index 558d3f0dfd..4f2ed9e841 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -203,7 +203,6 @@ GLIBC_2.3.3 __pthread_unregister_cancel F GLIBC_2.3.3 __pthread_unregister_cancel_restore F GLIBC_2.3.3 __pthread_unwind_next F GLIBC_2.3.3 pthread_attr_getaffinity_np F -GLIBC_2.3.3 pthread_attr_setaffinity_np F GLIBC_2.3.3 pthread_barrierattr_getpshared F GLIBC_2.3.3 pthread_condattr_getclock F GLIBC_2.3.3 pthread_condattr_setclock F @@ -212,7 +211,6 @@ GLIBC_2.3.3 pthread_setaffinity_np F GLIBC_2.3.3 pthread_timedjoin_np F GLIBC_2.3.3 pthread_tryjoin_np F GLIBC_2.3.4 pthread_attr_getaffinity_np F -GLIBC_2.3.4 pthread_attr_setaffinity_np F GLIBC_2.3.4 pthread_getaffinity_np F GLIBC_2.3.4 pthread_setaffinity_np F GLIBC_2.3.4 pthread_setschedprio F |