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 /nptl/Versions | |
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 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nptl/Versions b/nptl/Versions index 637d100a9e..ce08076611 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -21,6 +21,9 @@ libc { GLIBC_2.1 { pthread_attr_init; } + GLIBC_2.2.3 { + pthread_getattr_np; + } GLIBC_2.3.2 { __register_atfork; @@ -43,6 +46,7 @@ libc { GLIBC_2.32 { pthread_attr_setaffinity_np; pthread_getaffinity_np; + pthread_getattr_np; pthread_sigmask; } GLIBC_PRIVATE { @@ -55,7 +59,6 @@ libc { # Used by the C11 threads implementation. __pthread_cond_destroy; __pthread_cond_init; __pthread_attr_setaffinity_np; - __pthread_getaffinity_np; # For pthread_getattr_np. } } @@ -197,8 +200,7 @@ libpthread { } GLIBC_2.2.3 { - # Extensions. - pthread_getattr_np; + __libpthread_version_placeholder; } GLIBC_2.2.6 { |