[3/9] nptl: Move pthread_attr_getstack into libc

Message ID 4acfb8ebacbf36e94051fca60a73c4abcd33f56b.1620662729.git.fweimer@redhat.com
State New
Headers show
Series
  • Move most pthread_attr_t functions into libc
Related show

Commit Message

Mark Brown via Libc-alpha May 10, 2021, 4:08 p.m.
The symbol was moved using scripts/move-symbol-to-libc.py.
---
 nptl/Makefile                                            | 2 +-
 nptl/Versions                                            | 3 ++-
 nptl/pthread_attr_getstack.c                             | 9 +++++++--
 sysdeps/unix/sysv/linux/aarch64/libc.abilist             | 2 ++
 sysdeps/unix/sysv/linux/aarch64/libpthread.abilist       | 1 -
 sysdeps/unix/sysv/linux/alpha/libc.abilist               | 2 ++
 sysdeps/unix/sysv/linux/alpha/libpthread.abilist         | 1 -
 sysdeps/unix/sysv/linux/arc/libc.abilist                 | 2 ++
 sysdeps/unix/sysv/linux/arc/libpthread.abilist           | 1 -
 sysdeps/unix/sysv/linux/arm/be/libc.abilist              | 2 ++
 sysdeps/unix/sysv/linux/arm/be/libpthread.abilist        | 1 -
 sysdeps/unix/sysv/linux/arm/le/libc.abilist              | 2 ++
 sysdeps/unix/sysv/linux/arm/le/libpthread.abilist        | 1 -
 sysdeps/unix/sysv/linux/csky/libc.abilist                | 2 ++
 sysdeps/unix/sysv/linux/csky/libpthread.abilist          | 1 -
 sysdeps/unix/sysv/linux/hppa/libc.abilist                | 2 ++
 sysdeps/unix/sysv/linux/hppa/libpthread.abilist          | 1 -
 sysdeps/unix/sysv/linux/i386/libc.abilist                | 2 ++
 sysdeps/unix/sysv/linux/i386/libpthread.abilist          | 1 -
 sysdeps/unix/sysv/linux/ia64/libc.abilist                | 2 ++
 sysdeps/unix/sysv/linux/ia64/libpthread.abilist          | 1 -
 sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist       | 2 ++
 sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist | 1 -
 sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist         | 2 ++
 sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist   | 1 -
 sysdeps/unix/sysv/linux/microblaze/be/libc.abilist       | 2 ++
 sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist | 1 -
 sysdeps/unix/sysv/linux/microblaze/le/libc.abilist       | 2 ++
 sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist | 1 -
 sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist     | 2 ++
 sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist   | 1 -
 sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist   | 2 ++
 sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist   | 1 -
 sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist     | 2 ++
 sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist     | 2 ++
 sysdeps/unix/sysv/linux/nios2/libc.abilist               | 2 ++
 sysdeps/unix/sysv/linux/nios2/libpthread.abilist         | 1 -
 .../unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist   | 2 ++
 .../unix/sysv/linux/powerpc/powerpc32/libpthread.abilist | 1 -
 .../unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | 2 ++
 .../unix/sysv/linux/powerpc/powerpc64/be/libc.abilist    | 2 ++
 .../sysv/linux/powerpc/powerpc64/be/libpthread.abilist   | 1 -
 .../unix/sysv/linux/powerpc/powerpc64/le/libc.abilist    | 2 ++
 .../sysv/linux/powerpc/powerpc64/le/libpthread.abilist   | 1 -
 sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist          | 2 ++
 sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist    | 1 -
 sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist          | 2 ++
 sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist    | 1 -
 sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist        | 2 ++
 sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist  | 1 -
 sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist        | 2 ++
 sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist  | 1 -
 sysdeps/unix/sysv/linux/sh/be/libc.abilist               | 2 ++
 sysdeps/unix/sysv/linux/sh/be/libpthread.abilist         | 1 -
 sysdeps/unix/sysv/linux/sh/le/libc.abilist               | 2 ++
 sysdeps/unix/sysv/linux/sh/le/libpthread.abilist         | 1 -
 sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist       | 2 ++
 sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist | 1 -
 sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist       | 2 ++
 sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist | 1 -
 sysdeps/unix/sysv/linux/x86_64/64/libc.abilist           | 2 ++
 sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist     | 1 -
 sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist          | 2 ++
 sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist    | 1 -
 64 files changed, 74 insertions(+), 33 deletions(-)

-- 
2.31.1

Comments

Mark Brown via Libc-alpha May 11, 2021, 5:06 p.m. | #1
On 10/05/2021 13:08, Florian Weimer via Libc-alpha wrote:
> The symbol was moved using scripts/move-symbol-to-libc.py.


LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>



> ---

>  nptl/Makefile                                            | 2 +-

>  nptl/Versions                                            | 3 ++-

>  nptl/pthread_attr_getstack.c                             | 9 +++++++--

>  sysdeps/unix/sysv/linux/aarch64/libc.abilist             | 2 ++

>  sysdeps/unix/sysv/linux/aarch64/libpthread.abilist       | 1 -

>  sysdeps/unix/sysv/linux/alpha/libc.abilist               | 2 ++

>  sysdeps/unix/sysv/linux/alpha/libpthread.abilist         | 1 -

>  sysdeps/unix/sysv/linux/arc/libc.abilist                 | 2 ++

>  sysdeps/unix/sysv/linux/arc/libpthread.abilist           | 1 -

>  sysdeps/unix/sysv/linux/arm/be/libc.abilist              | 2 ++

>  sysdeps/unix/sysv/linux/arm/be/libpthread.abilist        | 1 -

>  sysdeps/unix/sysv/linux/arm/le/libc.abilist              | 2 ++

>  sysdeps/unix/sysv/linux/arm/le/libpthread.abilist        | 1 -

>  sysdeps/unix/sysv/linux/csky/libc.abilist                | 2 ++

>  sysdeps/unix/sysv/linux/csky/libpthread.abilist          | 1 -

>  sysdeps/unix/sysv/linux/hppa/libc.abilist                | 2 ++

>  sysdeps/unix/sysv/linux/hppa/libpthread.abilist          | 1 -

>  sysdeps/unix/sysv/linux/i386/libc.abilist                | 2 ++

>  sysdeps/unix/sysv/linux/i386/libpthread.abilist          | 1 -

>  sysdeps/unix/sysv/linux/ia64/libc.abilist                | 2 ++

>  sysdeps/unix/sysv/linux/ia64/libpthread.abilist          | 1 -

>  sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist       | 2 ++

>  sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist | 1 -

>  sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist         | 2 ++

>  sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist   | 1 -

>  sysdeps/unix/sysv/linux/microblaze/be/libc.abilist       | 2 ++

>  sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist | 1 -

>  sysdeps/unix/sysv/linux/microblaze/le/libc.abilist       | 2 ++

>  sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist | 1 -

>  sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist     | 2 ++

>  sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist   | 1 -

>  sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist   | 2 ++

>  sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist   | 1 -

>  sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist     | 2 ++

>  sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist     | 2 ++

>  sysdeps/unix/sysv/linux/nios2/libc.abilist               | 2 ++

>  sysdeps/unix/sysv/linux/nios2/libpthread.abilist         | 1 -

>  .../unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist   | 2 ++

>  .../unix/sysv/linux/powerpc/powerpc32/libpthread.abilist | 1 -

>  .../unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | 2 ++

>  .../unix/sysv/linux/powerpc/powerpc64/be/libc.abilist    | 2 ++

>  .../sysv/linux/powerpc/powerpc64/be/libpthread.abilist   | 1 -

>  .../unix/sysv/linux/powerpc/powerpc64/le/libc.abilist    | 2 ++

>  .../sysv/linux/powerpc/powerpc64/le/libpthread.abilist   | 1 -

>  sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist          | 2 ++

>  sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist    | 1 -

>  sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist          | 2 ++

>  sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist    | 1 -

>  sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist        | 2 ++

>  sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist  | 1 -

>  sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist        | 2 ++

>  sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist  | 1 -

>  sysdeps/unix/sysv/linux/sh/be/libc.abilist               | 2 ++

>  sysdeps/unix/sysv/linux/sh/be/libpthread.abilist         | 1 -

>  sysdeps/unix/sysv/linux/sh/le/libc.abilist               | 2 ++

>  sysdeps/unix/sysv/linux/sh/le/libpthread.abilist         | 1 -

>  sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist       | 2 ++

>  sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist | 1 -

>  sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist       | 2 ++

>  sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist | 1 -

>  sysdeps/unix/sysv/linux/x86_64/64/libc.abilist           | 2 ++

>  sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist     | 1 -

>  sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist          | 2 ++

>  sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist    | 1 -

>  64 files changed, 74 insertions(+), 33 deletions(-)

> 

> diff --git a/nptl/Makefile b/nptl/Makefile

> index 4be73d960d..f0be9a628b 100644

> --- a/nptl/Makefile

> +++ b/nptl/Makefile

> @@ -66,6 +66,7 @@ routines = \

>    pthread_attr_getschedpolicy \

>    pthread_attr_getscope \

>    pthread_attr_getsigmask \

> +  pthread_attr_getstack \

>    pthread_attr_init \

>    pthread_attr_setaffinity \

>    pthread_attr_setdetachstate \

> @@ -188,7 +189,6 @@ libpthread-routines = \

>    nptl-init \

>    nptlfreeres \

>    pt-interp \

> -  pthread_attr_getstack \

>    pthread_attr_getstackaddr \

>    pthread_attr_getstacksize \

>    pthread_attr_setguardsize \


Ok.

> diff --git a/nptl/Versions b/nptl/Versions

> index 54334c5c9f..49c4be5de5 100644

> --- a/nptl/Versions

> +++ b/nptl/Versions

> @@ -107,6 +107,7 @@ libc {

>      __pthread_rwlock_trywrlock;

>      __pthread_rwlock_unlock;

>      __pthread_rwlock_wrlock;

> +    pthread_attr_getstack;

>      pthread_barrier_destroy;

>      pthread_barrier_init;

>      pthread_barrier_wait;

> @@ -230,6 +231,7 @@ libc {

>      mtx_unlock;

>      pthread_attr_getaffinity_np;

>      pthread_attr_getguardsize;

> +    pthread_attr_getstack;

>      pthread_barrier_destroy;

>      pthread_barrier_init;

>      pthread_barrier_wait;

> @@ -387,7 +389,6 @@ libpthread {

>    }

>  

>    GLIBC_2.2 {

> -    pthread_attr_getstack;

>      pthread_attr_setstack;

>      pthread_getcpuclockid;

>      pthread_yield;


Ok.

> diff --git a/nptl/pthread_attr_getstack.c b/nptl/pthread_attr_getstack.c

> index 570115af10..351aa4da80 100644

> --- a/nptl/pthread_attr_getstack.c

> +++ b/nptl/pthread_attr_getstack.c

> @@ -17,7 +17,7 @@

>     <https://www.gnu.org/licenses/>.  */

>  

>  #include "pthreadP.h"

> -

> +#include <shlib-compat.h>

>  

>  int

>  __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,

> @@ -37,4 +37,9 @@ __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,

>  

>    return 0;

>  }

> -strong_alias (__pthread_attr_getstack, pthread_attr_getstack)

> +versioned_symbol (libpthread, __pthread_attr_getstack,

> +                  pthread_attr_getstack, GLIBC_2_34);

> +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34)

> +compat_symbol (libpthread, __pthread_attr_getstack,

> +               pthread_attr_getstack, GLIBC_2_2);

> +#endif


Ok.

> diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist

> index 2208e502a1..e26c80edf1 100644

> --- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist

> @@ -1450,6 +1450,7 @@ GLIBC_2.17 pthread_attr_getinheritsched F

>  GLIBC_2.17 pthread_attr_getschedparam F

>  GLIBC_2.17 pthread_attr_getschedpolicy F

>  GLIBC_2.17 pthread_attr_getscope F

> +GLIBC_2.17 pthread_attr_getstack F

>  GLIBC_2.17 pthread_attr_init F

>  GLIBC_2.17 pthread_attr_setaffinity_np F

>  GLIBC_2.17 pthread_attr_setdetachstate F

> @@ -2316,6 +2317,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist

> index 3316608fa6..6c5e6d1840 100644

> --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.17 __pthread_unregister_cancel_restore F

>  GLIBC_2.17 flockfile F

>  GLIBC_2.17 ftrylockfile F

>  GLIBC_2.17 funlockfile F

> -GLIBC_2.17 pthread_attr_getstack F

>  GLIBC_2.17 pthread_attr_getstackaddr F

>  GLIBC_2.17 pthread_attr_getstacksize F

>  GLIBC_2.17 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> index 65b5507e01..73ba99a6f7 100644

> --- a/sysdeps/unix/sysv/linux/alpha/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> @@ -2009,6 +2009,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2404,6 +2405,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist

> index 1db73cdc3e..e4e5fb8539 100644

> --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist

> @@ -24,7 +24,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist

> index 5e343b5f3d..ef28347cdc 100644

> --- a/sysdeps/unix/sysv/linux/arc/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist

> @@ -1388,6 +1388,7 @@ GLIBC_2.32 pthread_attr_getschedparam F

>  GLIBC_2.32 pthread_attr_getschedpolicy F

>  GLIBC_2.32 pthread_attr_getscope F

>  GLIBC_2.32 pthread_attr_getsigmask_np F

> +GLIBC_2.32 pthread_attr_getstack F

>  GLIBC_2.32 pthread_attr_init F

>  GLIBC_2.32 pthread_attr_setaffinity_np F

>  GLIBC_2.32 pthread_attr_setdetachstate F

> @@ -2075,6 +2076,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist

> index 5d095cde48..784b04c8d8 100644

> --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.32 __pthread_unregister_cancel_restore F

>  GLIBC_2.32 flockfile F

>  GLIBC_2.32 ftrylockfile F

>  GLIBC_2.32 funlockfile F

> -GLIBC_2.32 pthread_attr_getstack F

>  GLIBC_2.32 pthread_attr_getstackaddr F

>  GLIBC_2.32 pthread_attr_getstacksize F

>  GLIBC_2.32 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> index 2f03e13cad..85fc0ca08b 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> @@ -203,6 +203,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> @@ -1664,6 +1665,7 @@ GLIBC_2.4 pthread_attr_getinheritsched F

>  GLIBC_2.4 pthread_attr_getschedparam F

>  GLIBC_2.4 pthread_attr_getschedpolicy F

>  GLIBC_2.4 pthread_attr_getscope F

> +GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_init F

>  GLIBC_2.4 pthread_attr_setaffinity_np F

>  GLIBC_2.4 pthread_attr_setdetachstate F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist

> index 6de1a5f8b4..86ee461674 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist

> @@ -20,7 +20,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F

>  GLIBC_2.4 flockfile F

>  GLIBC_2.4 ftrylockfile F

>  GLIBC_2.4 funlockfile F

> -GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_getstackaddr F

>  GLIBC_2.4 pthread_attr_getstacksize F

>  GLIBC_2.4 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> index 4099bf94a5..3ff60fd00e 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> @@ -200,6 +200,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> @@ -1661,6 +1662,7 @@ GLIBC_2.4 pthread_attr_getinheritsched F

>  GLIBC_2.4 pthread_attr_getschedparam F

>  GLIBC_2.4 pthread_attr_getschedpolicy F

>  GLIBC_2.4 pthread_attr_getscope F

> +GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_init F

>  GLIBC_2.4 pthread_attr_setaffinity_np F

>  GLIBC_2.4 pthread_attr_setdetachstate F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist

> index 6de1a5f8b4..86ee461674 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist

> @@ -20,7 +20,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F

>  GLIBC_2.4 flockfile F

>  GLIBC_2.4 ftrylockfile F

>  GLIBC_2.4 funlockfile F

> -GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_getstackaddr F

>  GLIBC_2.4 pthread_attr_getstacksize F

>  GLIBC_2.4 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist

> index 295c4ea149..5dd49bd516 100644

> --- a/sysdeps/unix/sysv/linux/csky/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist

> @@ -1450,6 +1450,7 @@ GLIBC_2.29 pthread_attr_getinheritsched F

>  GLIBC_2.29 pthread_attr_getschedparam F

>  GLIBC_2.29 pthread_attr_getschedpolicy F

>  GLIBC_2.29 pthread_attr_getscope F

> +GLIBC_2.29 pthread_attr_getstack F

>  GLIBC_2.29 pthread_attr_init F

>  GLIBC_2.29 pthread_attr_setaffinity_np F

>  GLIBC_2.29 pthread_attr_setdetachstate F

> @@ -2259,6 +2260,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist

> index 92656d76ff..9882a1c33e 100644

> --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.29 __pthread_unregister_cancel_restore F

>  GLIBC_2.29 flockfile F

>  GLIBC_2.29 ftrylockfile F

>  GLIBC_2.29 funlockfile F

> -GLIBC_2.29 pthread_attr_getstack F

>  GLIBC_2.29 pthread_attr_getstackaddr F

>  GLIBC_2.29 pthread_attr_getstacksize F

>  GLIBC_2.29 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> index 08048da18a..7c81d57808 100644

> --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> @@ -1277,6 +1277,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2211,6 +2212,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist

> index dc8d7fd2e7..3a9100ff41 100644

> --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist

> index 61fd22df09..03110ac6f4 100644

> --- a/sysdeps/unix/sysv/linux/i386/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist

> @@ -2018,6 +2018,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2394,6 +2395,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist

> index dda59d8e5a..2a232abe99 100644

> --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist

> @@ -24,7 +24,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> index c607d306bf..5bb0744e96 100644

> --- a/sysdeps/unix/sysv/linux/ia64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> @@ -1298,6 +1298,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2245,6 +2246,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist

> index 422b79a8d1..726d98a34e 100644

> --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> index 3995371bc1..d95b9dc318 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> @@ -204,6 +204,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> @@ -1644,6 +1645,7 @@ GLIBC_2.4 pthread_attr_getinheritsched F

>  GLIBC_2.4 pthread_attr_getschedparam F

>  GLIBC_2.4 pthread_attr_getschedpolicy F

>  GLIBC_2.4 pthread_attr_getscope F

> +GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_init F

>  GLIBC_2.4 pthread_attr_setaffinity_np F

>  GLIBC_2.4 pthread_attr_setdetachstate F

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist

> index 6de1a5f8b4..86ee461674 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist

> @@ -20,7 +20,6 @@ GLIBC_2.4 __pthread_unregister_cancel_restore F

>  GLIBC_2.4 flockfile F

>  GLIBC_2.4 ftrylockfile F

>  GLIBC_2.4 funlockfile F

> -GLIBC_2.4 pthread_attr_getstack F

>  GLIBC_2.4 pthread_attr_getstackaddr F

>  GLIBC_2.4 pthread_attr_getstacksize F

>  GLIBC_2.4 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> index 7f57f186c1..3a91854e1e 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> @@ -1974,6 +1974,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2337,6 +2338,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist

> index dda59d8e5a..2a232abe99 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist

> @@ -24,7 +24,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> index d4d8b026a4..7fbbd420f3 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> @@ -1452,6 +1452,7 @@ GLIBC_2.18 pthread_attr_getinheritsched F

>  GLIBC_2.18 pthread_attr_getschedparam F

>  GLIBC_2.18 pthread_attr_getschedpolicy F

>  GLIBC_2.18 pthread_attr_getscope F

> +GLIBC_2.18 pthread_attr_getstack F

>  GLIBC_2.18 pthread_attr_init F

>  GLIBC_2.18 pthread_attr_setaffinity_np F

>  GLIBC_2.18 pthread_attr_setdetachstate F

> @@ -2310,6 +2311,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist

> index 1aaa7a9344..1f6513f689 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.18 __pthread_unregister_cancel_restore F

>  GLIBC_2.18 flockfile F

>  GLIBC_2.18 ftrylockfile F

>  GLIBC_2.18 funlockfile F

> -GLIBC_2.18 pthread_attr_getstack F

>  GLIBC_2.18 pthread_attr_getstackaddr F

>  GLIBC_2.18 pthread_attr_getstacksize F

>  GLIBC_2.18 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> index 29bb183bbd..34f3ba9cee 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> @@ -1452,6 +1452,7 @@ GLIBC_2.18 pthread_attr_getinheritsched F

>  GLIBC_2.18 pthread_attr_getschedparam F

>  GLIBC_2.18 pthread_attr_getschedpolicy F

>  GLIBC_2.18 pthread_attr_getscope F

> +GLIBC_2.18 pthread_attr_getstack F

>  GLIBC_2.18 pthread_attr_init F

>  GLIBC_2.18 pthread_attr_setaffinity_np F

>  GLIBC_2.18 pthread_attr_setdetachstate F

> @@ -2307,6 +2308,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist

> index 1aaa7a9344..1f6513f689 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.18 __pthread_unregister_cancel_restore F

>  GLIBC_2.18 flockfile F

>  GLIBC_2.18 ftrylockfile F

>  GLIBC_2.18 funlockfile F

> -GLIBC_2.18 pthread_attr_getstack F

>  GLIBC_2.18 pthread_attr_getstackaddr F

>  GLIBC_2.18 pthread_attr_getstacksize F

>  GLIBC_2.18 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> index e6e9dd8d4d..8b6c41b278 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> @@ -1845,6 +1845,7 @@ GLIBC_2.2 pread64 F

>  GLIBC_2.2 printf_size F

>  GLIBC_2.2 printf_size_info F

>  GLIBC_2.2 pthread_attr_getguardsize F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

> @@ -2300,6 +2301,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist

> index 5e322dbde8..3834b88ba2 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist

> @@ -14,7 +14,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> index 9e9521e71c..dec93dfa9b 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> @@ -1843,6 +1843,7 @@ GLIBC_2.2 pread64 F

>  GLIBC_2.2 printf_size F

>  GLIBC_2.2 printf_size_info F

>  GLIBC_2.2 pthread_attr_getguardsize F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

> @@ -2298,6 +2299,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist

> index 5e322dbde8..3834b88ba2 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist

> @@ -14,7 +14,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> index 881f3a7f95..124e6456f6 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> @@ -1843,6 +1843,7 @@ GLIBC_2.2 pread64 F

>  GLIBC_2.2 printf_size F

>  GLIBC_2.2 printf_size_info F

>  GLIBC_2.2 pthread_attr_getguardsize F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

> @@ -2306,6 +2307,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> index 8430a28479..503e03097e 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> @@ -1839,6 +1839,7 @@ GLIBC_2.2 pread64 F

>  GLIBC_2.2 printf_size F

>  GLIBC_2.2 printf_size_info F

>  GLIBC_2.2 pthread_attr_getguardsize F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

> @@ -2300,6 +2301,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> index 01e8e97d06..3b13163c62 100644

> --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> @@ -1495,6 +1495,7 @@ GLIBC_2.21 pthread_attr_getinheritsched F

>  GLIBC_2.21 pthread_attr_getschedparam F

>  GLIBC_2.21 pthread_attr_getschedpolicy F

>  GLIBC_2.21 pthread_attr_getscope F

> +GLIBC_2.21 pthread_attr_getstack F

>  GLIBC_2.21 pthread_attr_init F

>  GLIBC_2.21 pthread_attr_setaffinity_np F

>  GLIBC_2.21 pthread_attr_setdetachstate F

> @@ -2349,6 +2350,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist

> index e8f4a7a538..8bd68d27ee 100644

> --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.21 __pthread_unregister_cancel_restore F

>  GLIBC_2.21 flockfile F

>  GLIBC_2.21 ftrylockfile F

>  GLIBC_2.21 funlockfile F

> -GLIBC_2.21 pthread_attr_getstack F

>  GLIBC_2.21 pthread_attr_getstackaddr F

>  GLIBC_2.21 pthread_attr_getstacksize F

>  GLIBC_2.21 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> index a27debb4ff..ce2eb6b6b2 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> @@ -1979,6 +1979,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2364,6 +2365,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist

> index 508a095cdd..04a2cb9ada 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist

> @@ -24,7 +24,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> index 94558a5eee..adbc128e59 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> @@ -1983,6 +1983,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2397,6 +2398,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> index 1fe82c64fe..386c6cea00 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> @@ -1400,6 +1400,7 @@ GLIBC_2.3 pthread_attr_getinheritsched F

>  GLIBC_2.3 pthread_attr_getschedparam F

>  GLIBC_2.3 pthread_attr_getschedpolicy F

>  GLIBC_2.3 pthread_attr_getscope F

> +GLIBC_2.3 pthread_attr_getstack F

>  GLIBC_2.3 pthread_attr_init F

>  GLIBC_2.3 pthread_attr_setdetachstate F

>  GLIBC_2.3 pthread_attr_setinheritsched F

> @@ -2212,6 +2213,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist

> index 4e954afdff..7a85888e76 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist

> @@ -13,7 +13,6 @@ GLIBC_2.3 __errno_location F

>  GLIBC_2.3 flockfile F

>  GLIBC_2.3 ftrylockfile F

>  GLIBC_2.3 funlockfile F

> -GLIBC_2.3 pthread_attr_getstack F

>  GLIBC_2.3 pthread_attr_getstackaddr F

>  GLIBC_2.3 pthread_attr_getstacksize F

>  GLIBC_2.3 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> index c5d938007d..288796da61 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> @@ -1538,6 +1538,7 @@ GLIBC_2.17 pthread_attr_getinheritsched F

>  GLIBC_2.17 pthread_attr_getschedparam F

>  GLIBC_2.17 pthread_attr_getschedpolicy F

>  GLIBC_2.17 pthread_attr_getscope F

> +GLIBC_2.17 pthread_attr_getstack F

>  GLIBC_2.17 pthread_attr_init F

>  GLIBC_2.17 pthread_attr_setaffinity_np F

>  GLIBC_2.17 pthread_attr_setdetachstate F

> @@ -2512,6 +2513,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist

> index 3316608fa6..6c5e6d1840 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.17 __pthread_unregister_cancel_restore F

>  GLIBC_2.17 flockfile F

>  GLIBC_2.17 ftrylockfile F

>  GLIBC_2.17 funlockfile F

> -GLIBC_2.17 pthread_attr_getstack F

>  GLIBC_2.17 pthread_attr_getstackaddr F

>  GLIBC_2.17 pthread_attr_getstacksize F

>  GLIBC_2.17 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> index ff8a1056ae..7675978d94 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> @@ -1390,6 +1390,7 @@ GLIBC_2.33 pthread_attr_getschedparam F

>  GLIBC_2.33 pthread_attr_getschedpolicy F

>  GLIBC_2.33 pthread_attr_getscope F

>  GLIBC_2.33 pthread_attr_getsigmask_np F

> +GLIBC_2.33 pthread_attr_getstack F

>  GLIBC_2.33 pthread_attr_init F

>  GLIBC_2.33 pthread_attr_setaffinity_np F

>  GLIBC_2.33 pthread_attr_setdetachstate F

> @@ -2077,6 +2078,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist

> index 245978e25b..a6bdc4785c 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.33 __pthread_unregister_cancel_restore F

>  GLIBC_2.33 flockfile F

>  GLIBC_2.33 ftrylockfile F

>  GLIBC_2.33 funlockfile F

> -GLIBC_2.33 pthread_attr_getstack F

>  GLIBC_2.33 pthread_attr_getstackaddr F

>  GLIBC_2.33 pthread_attr_getstacksize F

>  GLIBC_2.33 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> index 7dab671381..3dfc0f3445 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> @@ -1440,6 +1440,7 @@ GLIBC_2.27 pthread_attr_getinheritsched F

>  GLIBC_2.27 pthread_attr_getschedparam F

>  GLIBC_2.27 pthread_attr_getschedpolicy F

>  GLIBC_2.27 pthread_attr_getscope F

> +GLIBC_2.27 pthread_attr_getstack F

>  GLIBC_2.27 pthread_attr_init F

>  GLIBC_2.27 pthread_attr_setaffinity_np F

>  GLIBC_2.27 pthread_attr_setdetachstate F

> @@ -2277,6 +2278,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist

> index 604c945ac8..6b2dcbdd2b 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.27 __pthread_unregister_cancel_restore F

>  GLIBC_2.27 flockfile F

>  GLIBC_2.27 ftrylockfile F

>  GLIBC_2.27 funlockfile F

> -GLIBC_2.27 pthread_attr_getstack F

>  GLIBC_2.27 pthread_attr_getstackaddr F

>  GLIBC_2.27 pthread_attr_getstacksize F

>  GLIBC_2.27 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> index c3ef0dc655..235e5d201d 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> @@ -1977,6 +1977,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2362,6 +2363,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist

> index e26e8eb708..c74aacb495 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist

> @@ -25,7 +25,6 @@ GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

>  GLIBC_2.19 __libpthread_version_placeholder F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> index 28b8f8606a..bdbe0a4294 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> @@ -1295,6 +1295,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2249,6 +2250,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist

> index 22a47c413c..03f9ed1446 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist

> @@ -11,7 +11,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> index 302c374090..a45d510a48 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> @@ -1281,6 +1281,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2218,6 +2219,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist

> index dc8d7fd2e7..3a9100ff41 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> index 9943f95b15..2e14d56dbf 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> @@ -1281,6 +1281,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2215,6 +2216,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist

> index dc8d7fd2e7..3a9100ff41 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> index e41f0f9471..33090bfb5d 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> @@ -1973,6 +1973,7 @@ GLIBC_2.2 posix_spawnattr_setsigmask F

>  GLIBC_2.2 posix_spawnp F

>  GLIBC_2.2 pread F

>  GLIBC_2.2 pread64 F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_barrier_destroy F

>  GLIBC_2.2 pthread_barrier_init F

>  GLIBC_2.2 pthread_barrier_wait F

> @@ -2353,6 +2354,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist

> index 1db73cdc3e..e4e5fb8539 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist

> @@ -24,7 +24,6 @@ GLIBC_2.12 pthread_getname_np F

>  GLIBC_2.12 pthread_setname_np F

>  GLIBC_2.18 pthread_getattr_default_np F

>  GLIBC_2.18 pthread_setattr_default_np F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_setstack F

>  GLIBC_2.2 pthread_getcpuclockid F

>  GLIBC_2.2.3 __libpthread_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> index 10f4070fb9..5d95864fb5 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> @@ -1324,6 +1324,7 @@ GLIBC_2.2 pthread_attr_getinheritsched F

>  GLIBC_2.2 pthread_attr_getschedparam F

>  GLIBC_2.2 pthread_attr_getschedpolicy F

>  GLIBC_2.2 pthread_attr_getscope F

> +GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_init F

>  GLIBC_2.2 pthread_attr_setdetachstate F

>  GLIBC_2.2 pthread_attr_setinheritsched F

> @@ -2266,6 +2267,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist

> index 422b79a8d1..726d98a34e 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2 __errno_location F

>  GLIBC_2.2 flockfile F

>  GLIBC_2.2 ftrylockfile F

>  GLIBC_2.2 funlockfile F

> -GLIBC_2.2 pthread_attr_getstack F

>  GLIBC_2.2 pthread_attr_getstackaddr F

>  GLIBC_2.2 pthread_attr_getstacksize F

>  GLIBC_2.2 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> index 706c0ffa4f..1560dfca1b 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> @@ -1291,6 +1291,7 @@ GLIBC_2.2.5 pthread_attr_getinheritsched F

>  GLIBC_2.2.5 pthread_attr_getschedparam F

>  GLIBC_2.2.5 pthread_attr_getschedpolicy F

>  GLIBC_2.2.5 pthread_attr_getscope F

> +GLIBC_2.2.5 pthread_attr_getstack F

>  GLIBC_2.2.5 pthread_attr_init F

>  GLIBC_2.2.5 pthread_attr_setdetachstate F

>  GLIBC_2.2.5 pthread_attr_setinheritsched F

> @@ -2227,6 +2228,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist

> index dbe16a3e6a..801d2701cf 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist

> @@ -10,7 +10,6 @@ GLIBC_2.2.5 __errno_location F

>  GLIBC_2.2.5 flockfile F

>  GLIBC_2.2.5 ftrylockfile F

>  GLIBC_2.2.5 funlockfile F

> -GLIBC_2.2.5 pthread_attr_getstack F

>  GLIBC_2.2.5 pthread_attr_getstackaddr F

>  GLIBC_2.2.5 pthread_attr_getstacksize F

>  GLIBC_2.2.5 pthread_attr_setguardsize F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> index 299877f418..16ada0b4ae 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> @@ -1457,6 +1457,7 @@ GLIBC_2.16 pthread_attr_getinheritsched F

>  GLIBC_2.16 pthread_attr_getschedparam F

>  GLIBC_2.16 pthread_attr_getschedpolicy F

>  GLIBC_2.16 pthread_attr_getscope F

> +GLIBC_2.16 pthread_attr_getstack F

>  GLIBC_2.16 pthread_attr_init F

>  GLIBC_2.16 pthread_attr_setaffinity_np F

>  GLIBC_2.16 pthread_attr_setdetachstate F

> @@ -2331,6 +2332,7 @@ GLIBC_2.34 mtx_trylock F

>  GLIBC_2.34 mtx_unlock F

>  GLIBC_2.34 pthread_attr_getaffinity_np F

>  GLIBC_2.34 pthread_attr_getguardsize F

> +GLIBC_2.34 pthread_attr_getstack F

>  GLIBC_2.34 pthread_barrier_destroy F

>  GLIBC_2.34 pthread_barrier_init F

>  GLIBC_2.34 pthread_barrier_wait F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist

> index 364ff410fa..444a6a45ae 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist

> @@ -9,7 +9,6 @@ GLIBC_2.16 __pthread_unregister_cancel_restore F

>  GLIBC_2.16 flockfile F

>  GLIBC_2.16 ftrylockfile F

>  GLIBC_2.16 funlockfile F

> -GLIBC_2.16 pthread_attr_getstack F

>  GLIBC_2.16 pthread_attr_getstackaddr F

>  GLIBC_2.16 pthread_attr_getstacksize F

>  GLIBC_2.16 pthread_attr_setguardsize F

> 


Ok.

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 4be73d960d..f0be9a628b 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -66,6 +66,7 @@  routines = \
   pthread_attr_getschedpolicy \
   pthread_attr_getscope \
   pthread_attr_getsigmask \
+  pthread_attr_getstack \
   pthread_attr_init \
   pthread_attr_setaffinity \
   pthread_attr_setdetachstate \
@@ -188,7 +189,6 @@  libpthread-routines = \
   nptl-init \
   nptlfreeres \
   pt-interp \
-  pthread_attr_getstack \
   pthread_attr_getstackaddr \
   pthread_attr_getstacksize \
   pthread_attr_setguardsize \
diff --git a/nptl/Versions b/nptl/Versions
index 54334c5c9f..49c4be5de5 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -107,6 +107,7 @@  libc {
     __pthread_rwlock_trywrlock;
     __pthread_rwlock_unlock;
     __pthread_rwlock_wrlock;
+    pthread_attr_getstack;
     pthread_barrier_destroy;
     pthread_barrier_init;
     pthread_barrier_wait;
@@ -230,6 +231,7 @@  libc {
     mtx_unlock;
     pthread_attr_getaffinity_np;
     pthread_attr_getguardsize;
+    pthread_attr_getstack;
     pthread_barrier_destroy;
     pthread_barrier_init;
     pthread_barrier_wait;
@@ -387,7 +389,6 @@  libpthread {
   }
 
   GLIBC_2.2 {
-    pthread_attr_getstack;
     pthread_attr_setstack;
     pthread_getcpuclockid;
     pthread_yield;
diff --git a/nptl/pthread_attr_getstack.c b/nptl/pthread_attr_getstack.c
index 570115af10..351aa4da80 100644
--- a/nptl/pthread_attr_getstack.c
+++ b/nptl/pthread_attr_getstack.c
@@ -17,7 +17,7 @@ 
    <https://www.gnu.org/licenses/>.  */
 
 #include "pthreadP.h"
-
+#include <shlib-compat.h>
 
 int
 __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,
@@ -37,4 +37,9 @@  __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,
 
   return 0;
 }
-strong_alias (__pthread_attr_getstack, pthread_attr_getstack)
+versioned_symbol (libpthread, __pthread_attr_getstack,
+                  pthread_attr_getstack, GLIBC_2_34);
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34)
+compat_symbol (libpthread, __pthread_attr_getstack,
+               pthread_attr_getstack, GLIBC_2_2);
+#endif
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
index 2208e502a1..e26c80edf1 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
@@ -1450,6 +1450,7 @@  GLIBC_2.17 pthread_attr_getinheritsched F
 GLIBC_2.17 pthread_attr_getschedparam F
 GLIBC_2.17 pthread_attr_getschedpolicy F
 GLIBC_2.17 pthread_attr_getscope F
+GLIBC_2.17 pthread_attr_getstack F
 GLIBC_2.17 pthread_attr_init F
 GLIBC_2.17 pthread_attr_setaffinity_np F
 GLIBC_2.17 pthread_attr_setdetachstate F
@@ -2316,6 +2317,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
index 3316608fa6..6c5e6d1840 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.17 __pthread_unregister_cancel_restore F
 GLIBC_2.17 flockfile F
 GLIBC_2.17 ftrylockfile F
 GLIBC_2.17 funlockfile F
-GLIBC_2.17 pthread_attr_getstack F
 GLIBC_2.17 pthread_attr_getstackaddr F
 GLIBC_2.17 pthread_attr_getstacksize F
 GLIBC_2.17 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist
index 65b5507e01..73ba99a6f7 100644
--- a/sysdeps/unix/sysv/linux/alpha/libc.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist
@@ -2009,6 +2009,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2404,6 +2405,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
index 1db73cdc3e..e4e5fb8539 100644
--- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist
@@ -24,7 +24,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist
index 5e343b5f3d..ef28347cdc 100644
--- a/sysdeps/unix/sysv/linux/arc/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libc.abilist
@@ -1388,6 +1388,7 @@  GLIBC_2.32 pthread_attr_getschedparam F
 GLIBC_2.32 pthread_attr_getschedpolicy F
 GLIBC_2.32 pthread_attr_getscope F
 GLIBC_2.32 pthread_attr_getsigmask_np F
+GLIBC_2.32 pthread_attr_getstack F
 GLIBC_2.32 pthread_attr_init F
 GLIBC_2.32 pthread_attr_setaffinity_np F
 GLIBC_2.32 pthread_attr_setdetachstate F
@@ -2075,6 +2076,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist
index 5d095cde48..784b04c8d8 100644
--- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.32 __pthread_unregister_cancel_restore F
 GLIBC_2.32 flockfile F
 GLIBC_2.32 ftrylockfile F
 GLIBC_2.32 funlockfile F
-GLIBC_2.32 pthread_attr_getstack F
 GLIBC_2.32 pthread_attr_getstackaddr F
 GLIBC_2.32 pthread_attr_getstacksize F
 GLIBC_2.32 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
index 2f03e13cad..85fc0ca08b 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
@@ -203,6 +203,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
@@ -1664,6 +1665,7 @@  GLIBC_2.4 pthread_attr_getinheritsched F
 GLIBC_2.4 pthread_attr_getschedparam F
 GLIBC_2.4 pthread_attr_getschedpolicy F
 GLIBC_2.4 pthread_attr_getscope F
+GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_init F
 GLIBC_2.4 pthread_attr_setaffinity_np F
 GLIBC_2.4 pthread_attr_setdetachstate F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
index 6de1a5f8b4..86ee461674 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
@@ -20,7 +20,6 @@  GLIBC_2.4 __pthread_unregister_cancel_restore F
 GLIBC_2.4 flockfile F
 GLIBC_2.4 ftrylockfile F
 GLIBC_2.4 funlockfile F
-GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_getstackaddr F
 GLIBC_2.4 pthread_attr_getstacksize F
 GLIBC_2.4 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
index 4099bf94a5..3ff60fd00e 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
@@ -200,6 +200,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
@@ -1661,6 +1662,7 @@  GLIBC_2.4 pthread_attr_getinheritsched F
 GLIBC_2.4 pthread_attr_getschedparam F
 GLIBC_2.4 pthread_attr_getschedpolicy F
 GLIBC_2.4 pthread_attr_getscope F
+GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_init F
 GLIBC_2.4 pthread_attr_setaffinity_np F
 GLIBC_2.4 pthread_attr_setdetachstate F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
index 6de1a5f8b4..86ee461674 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
@@ -20,7 +20,6 @@  GLIBC_2.4 __pthread_unregister_cancel_restore F
 GLIBC_2.4 flockfile F
 GLIBC_2.4 ftrylockfile F
 GLIBC_2.4 funlockfile F
-GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_getstackaddr F
 GLIBC_2.4 pthread_attr_getstacksize F
 GLIBC_2.4 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist
index 295c4ea149..5dd49bd516 100644
--- a/sysdeps/unix/sysv/linux/csky/libc.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libc.abilist
@@ -1450,6 +1450,7 @@  GLIBC_2.29 pthread_attr_getinheritsched F
 GLIBC_2.29 pthread_attr_getschedparam F
 GLIBC_2.29 pthread_attr_getschedpolicy F
 GLIBC_2.29 pthread_attr_getscope F
+GLIBC_2.29 pthread_attr_getstack F
 GLIBC_2.29 pthread_attr_init F
 GLIBC_2.29 pthread_attr_setaffinity_np F
 GLIBC_2.29 pthread_attr_setdetachstate F
@@ -2259,6 +2260,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist
index 92656d76ff..9882a1c33e 100644
--- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.29 __pthread_unregister_cancel_restore F
 GLIBC_2.29 flockfile F
 GLIBC_2.29 ftrylockfile F
 GLIBC_2.29 funlockfile F
-GLIBC_2.29 pthread_attr_getstack F
 GLIBC_2.29 pthread_attr_getstackaddr F
 GLIBC_2.29 pthread_attr_getstacksize F
 GLIBC_2.29 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist
index 08048da18a..7c81d57808 100644
--- a/sysdeps/unix/sysv/linux/hppa/libc.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist
@@ -1277,6 +1277,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2211,6 +2212,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
index dc8d7fd2e7..3a9100ff41 100644
--- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist
index 61fd22df09..03110ac6f4 100644
--- a/sysdeps/unix/sysv/linux/i386/libc.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libc.abilist
@@ -2018,6 +2018,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2394,6 +2395,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist
index dda59d8e5a..2a232abe99 100644
--- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist
@@ -24,7 +24,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist
index c607d306bf..5bb0744e96 100644
--- a/sysdeps/unix/sysv/linux/ia64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist
@@ -1298,6 +1298,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2245,6 +2246,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
index 422b79a8d1..726d98a34e 100644
--- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
index 3995371bc1..d95b9dc318 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
@@ -204,6 +204,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
@@ -1644,6 +1645,7 @@  GLIBC_2.4 pthread_attr_getinheritsched F
 GLIBC_2.4 pthread_attr_getschedparam F
 GLIBC_2.4 pthread_attr_getschedpolicy F
 GLIBC_2.4 pthread_attr_getscope F
+GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_init F
 GLIBC_2.4 pthread_attr_setaffinity_np F
 GLIBC_2.4 pthread_attr_setdetachstate F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
index 6de1a5f8b4..86ee461674 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
@@ -20,7 +20,6 @@  GLIBC_2.4 __pthread_unregister_cancel_restore F
 GLIBC_2.4 flockfile F
 GLIBC_2.4 ftrylockfile F
 GLIBC_2.4 funlockfile F
-GLIBC_2.4 pthread_attr_getstack F
 GLIBC_2.4 pthread_attr_getstackaddr F
 GLIBC_2.4 pthread_attr_getstacksize F
 GLIBC_2.4 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
index 7f57f186c1..3a91854e1e 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
@@ -1974,6 +1974,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2337,6 +2338,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
index dda59d8e5a..2a232abe99 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
@@ -24,7 +24,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
index d4d8b026a4..7fbbd420f3 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
@@ -1452,6 +1452,7 @@  GLIBC_2.18 pthread_attr_getinheritsched F
 GLIBC_2.18 pthread_attr_getschedparam F
 GLIBC_2.18 pthread_attr_getschedpolicy F
 GLIBC_2.18 pthread_attr_getscope F
+GLIBC_2.18 pthread_attr_getstack F
 GLIBC_2.18 pthread_attr_init F
 GLIBC_2.18 pthread_attr_setaffinity_np F
 GLIBC_2.18 pthread_attr_setdetachstate F
@@ -2310,6 +2311,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
index 1aaa7a9344..1f6513f689 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.18 __pthread_unregister_cancel_restore F
 GLIBC_2.18 flockfile F
 GLIBC_2.18 ftrylockfile F
 GLIBC_2.18 funlockfile F
-GLIBC_2.18 pthread_attr_getstack F
 GLIBC_2.18 pthread_attr_getstackaddr F
 GLIBC_2.18 pthread_attr_getstacksize F
 GLIBC_2.18 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
index 29bb183bbd..34f3ba9cee 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
@@ -1452,6 +1452,7 @@  GLIBC_2.18 pthread_attr_getinheritsched F
 GLIBC_2.18 pthread_attr_getschedparam F
 GLIBC_2.18 pthread_attr_getschedpolicy F
 GLIBC_2.18 pthread_attr_getscope F
+GLIBC_2.18 pthread_attr_getstack F
 GLIBC_2.18 pthread_attr_init F
 GLIBC_2.18 pthread_attr_setaffinity_np F
 GLIBC_2.18 pthread_attr_setdetachstate F
@@ -2307,6 +2308,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
index 1aaa7a9344..1f6513f689 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.18 __pthread_unregister_cancel_restore F
 GLIBC_2.18 flockfile F
 GLIBC_2.18 ftrylockfile F
 GLIBC_2.18 funlockfile F
-GLIBC_2.18 pthread_attr_getstack F
 GLIBC_2.18 pthread_attr_getstackaddr F
 GLIBC_2.18 pthread_attr_getstacksize F
 GLIBC_2.18 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
index e6e9dd8d4d..8b6c41b278 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
@@ -1845,6 +1845,7 @@  GLIBC_2.2 pread64 F
 GLIBC_2.2 printf_size F
 GLIBC_2.2 printf_size_info F
 GLIBC_2.2 pthread_attr_getguardsize F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
@@ -2300,6 +2301,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
index 5e322dbde8..3834b88ba2 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
@@ -14,7 +14,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
index 9e9521e71c..dec93dfa9b 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
@@ -1843,6 +1843,7 @@  GLIBC_2.2 pread64 F
 GLIBC_2.2 printf_size F
 GLIBC_2.2 printf_size_info F
 GLIBC_2.2 pthread_attr_getguardsize F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
@@ -2298,6 +2299,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
index 5e322dbde8..3834b88ba2 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
@@ -14,7 +14,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
index 881f3a7f95..124e6456f6 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
@@ -1843,6 +1843,7 @@  GLIBC_2.2 pread64 F
 GLIBC_2.2 printf_size F
 GLIBC_2.2 printf_size_info F
 GLIBC_2.2 pthread_attr_getguardsize F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
@@ -2306,6 +2307,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
index 8430a28479..503e03097e 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
@@ -1839,6 +1839,7 @@  GLIBC_2.2 pread64 F
 GLIBC_2.2 printf_size F
 GLIBC_2.2 printf_size_info F
 GLIBC_2.2 pthread_attr_getguardsize F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
@@ -2300,6 +2301,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist
index 01e8e97d06..3b13163c62 100644
--- a/sysdeps/unix/sysv/linux/nios2/libc.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist
@@ -1495,6 +1495,7 @@  GLIBC_2.21 pthread_attr_getinheritsched F
 GLIBC_2.21 pthread_attr_getschedparam F
 GLIBC_2.21 pthread_attr_getschedpolicy F
 GLIBC_2.21 pthread_attr_getscope F
+GLIBC_2.21 pthread_attr_getstack F
 GLIBC_2.21 pthread_attr_init F
 GLIBC_2.21 pthread_attr_setaffinity_np F
 GLIBC_2.21 pthread_attr_setdetachstate F
@@ -2349,6 +2350,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
index e8f4a7a538..8bd68d27ee 100644
--- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.21 __pthread_unregister_cancel_restore F
 GLIBC_2.21 flockfile F
 GLIBC_2.21 ftrylockfile F
 GLIBC_2.21 funlockfile F
-GLIBC_2.21 pthread_attr_getstack F
 GLIBC_2.21 pthread_attr_getstackaddr F
 GLIBC_2.21 pthread_attr_getstacksize F
 GLIBC_2.21 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
index a27debb4ff..ce2eb6b6b2 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
@@ -1979,6 +1979,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2364,6 +2365,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
index 508a095cdd..04a2cb9ada 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
@@ -24,7 +24,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
index 94558a5eee..adbc128e59 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
@@ -1983,6 +1983,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2397,6 +2398,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
index 1fe82c64fe..386c6cea00 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
@@ -1400,6 +1400,7 @@  GLIBC_2.3 pthread_attr_getinheritsched F
 GLIBC_2.3 pthread_attr_getschedparam F
 GLIBC_2.3 pthread_attr_getschedpolicy F
 GLIBC_2.3 pthread_attr_getscope F
+GLIBC_2.3 pthread_attr_getstack F
 GLIBC_2.3 pthread_attr_init F
 GLIBC_2.3 pthread_attr_setdetachstate F
 GLIBC_2.3 pthread_attr_setinheritsched F
@@ -2212,6 +2213,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
index 4e954afdff..7a85888e76 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
@@ -13,7 +13,6 @@  GLIBC_2.3 __errno_location F
 GLIBC_2.3 flockfile F
 GLIBC_2.3 ftrylockfile F
 GLIBC_2.3 funlockfile F
-GLIBC_2.3 pthread_attr_getstack F
 GLIBC_2.3 pthread_attr_getstackaddr F
 GLIBC_2.3 pthread_attr_getstacksize F
 GLIBC_2.3 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
index c5d938007d..288796da61 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
@@ -1538,6 +1538,7 @@  GLIBC_2.17 pthread_attr_getinheritsched F
 GLIBC_2.17 pthread_attr_getschedparam F
 GLIBC_2.17 pthread_attr_getschedpolicy F
 GLIBC_2.17 pthread_attr_getscope F
+GLIBC_2.17 pthread_attr_getstack F
 GLIBC_2.17 pthread_attr_init F
 GLIBC_2.17 pthread_attr_setaffinity_np F
 GLIBC_2.17 pthread_attr_setdetachstate F
@@ -2512,6 +2513,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
index 3316608fa6..6c5e6d1840 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.17 __pthread_unregister_cancel_restore F
 GLIBC_2.17 flockfile F
 GLIBC_2.17 ftrylockfile F
 GLIBC_2.17 funlockfile F
-GLIBC_2.17 pthread_attr_getstack F
 GLIBC_2.17 pthread_attr_getstackaddr F
 GLIBC_2.17 pthread_attr_getstacksize F
 GLIBC_2.17 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
index ff8a1056ae..7675978d94 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
@@ -1390,6 +1390,7 @@  GLIBC_2.33 pthread_attr_getschedparam F
 GLIBC_2.33 pthread_attr_getschedpolicy F
 GLIBC_2.33 pthread_attr_getscope F
 GLIBC_2.33 pthread_attr_getsigmask_np F
+GLIBC_2.33 pthread_attr_getstack F
 GLIBC_2.33 pthread_attr_init F
 GLIBC_2.33 pthread_attr_setaffinity_np F
 GLIBC_2.33 pthread_attr_setdetachstate F
@@ -2077,6 +2078,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
index 245978e25b..a6bdc4785c 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.33 __pthread_unregister_cancel_restore F
 GLIBC_2.33 flockfile F
 GLIBC_2.33 ftrylockfile F
 GLIBC_2.33 funlockfile F
-GLIBC_2.33 pthread_attr_getstack F
 GLIBC_2.33 pthread_attr_getstackaddr F
 GLIBC_2.33 pthread_attr_getstacksize F
 GLIBC_2.33 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
index 7dab671381..3dfc0f3445 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
@@ -1440,6 +1440,7 @@  GLIBC_2.27 pthread_attr_getinheritsched F
 GLIBC_2.27 pthread_attr_getschedparam F
 GLIBC_2.27 pthread_attr_getschedpolicy F
 GLIBC_2.27 pthread_attr_getscope F
+GLIBC_2.27 pthread_attr_getstack F
 GLIBC_2.27 pthread_attr_init F
 GLIBC_2.27 pthread_attr_setaffinity_np F
 GLIBC_2.27 pthread_attr_setdetachstate F
@@ -2277,6 +2278,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
index 604c945ac8..6b2dcbdd2b 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.27 __pthread_unregister_cancel_restore F
 GLIBC_2.27 flockfile F
 GLIBC_2.27 ftrylockfile F
 GLIBC_2.27 funlockfile F
-GLIBC_2.27 pthread_attr_getstack F
 GLIBC_2.27 pthread_attr_getstackaddr F
 GLIBC_2.27 pthread_attr_getstacksize F
 GLIBC_2.27 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
index c3ef0dc655..235e5d201d 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
@@ -1977,6 +1977,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2362,6 +2363,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
index e26e8eb708..c74aacb495 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
@@ -25,7 +25,6 @@  GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
 GLIBC_2.19 __libpthread_version_placeholder F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
index 28b8f8606a..bdbe0a4294 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
@@ -1295,6 +1295,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2249,6 +2250,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
index 22a47c413c..03f9ed1446 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
@@ -11,7 +11,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
index 302c374090..a45d510a48 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
@@ -1281,6 +1281,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2218,6 +2219,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
index dc8d7fd2e7..3a9100ff41 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
index 9943f95b15..2e14d56dbf 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
@@ -1281,6 +1281,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2215,6 +2216,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
index dc8d7fd2e7..3a9100ff41 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
index e41f0f9471..33090bfb5d 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
@@ -1973,6 +1973,7 @@  GLIBC_2.2 posix_spawnattr_setsigmask F
 GLIBC_2.2 posix_spawnp F
 GLIBC_2.2 pread F
 GLIBC_2.2 pread64 F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_barrier_destroy F
 GLIBC_2.2 pthread_barrier_init F
 GLIBC_2.2 pthread_barrier_wait F
@@ -2353,6 +2354,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
index 1db73cdc3e..e4e5fb8539 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
@@ -24,7 +24,6 @@  GLIBC_2.12 pthread_getname_np F
 GLIBC_2.12 pthread_setname_np F
 GLIBC_2.18 pthread_getattr_default_np F
 GLIBC_2.18 pthread_setattr_default_np F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_setstack F
 GLIBC_2.2 pthread_getcpuclockid F
 GLIBC_2.2.3 __libpthread_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
index 10f4070fb9..5d95864fb5 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
@@ -1324,6 +1324,7 @@  GLIBC_2.2 pthread_attr_getinheritsched F
 GLIBC_2.2 pthread_attr_getschedparam F
 GLIBC_2.2 pthread_attr_getschedpolicy F
 GLIBC_2.2 pthread_attr_getscope F
+GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_init F
 GLIBC_2.2 pthread_attr_setdetachstate F
 GLIBC_2.2 pthread_attr_setinheritsched F
@@ -2266,6 +2267,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
index 422b79a8d1..726d98a34e 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2 __errno_location F
 GLIBC_2.2 flockfile F
 GLIBC_2.2 ftrylockfile F
 GLIBC_2.2 funlockfile F
-GLIBC_2.2 pthread_attr_getstack F
 GLIBC_2.2 pthread_attr_getstackaddr F
 GLIBC_2.2 pthread_attr_getstacksize F
 GLIBC_2.2 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
index 706c0ffa4f..1560dfca1b 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
@@ -1291,6 +1291,7 @@  GLIBC_2.2.5 pthread_attr_getinheritsched F
 GLIBC_2.2.5 pthread_attr_getschedparam F
 GLIBC_2.2.5 pthread_attr_getschedpolicy F
 GLIBC_2.2.5 pthread_attr_getscope F
+GLIBC_2.2.5 pthread_attr_getstack F
 GLIBC_2.2.5 pthread_attr_init F
 GLIBC_2.2.5 pthread_attr_setdetachstate F
 GLIBC_2.2.5 pthread_attr_setinheritsched F
@@ -2227,6 +2228,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
index dbe16a3e6a..801d2701cf 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
@@ -10,7 +10,6 @@  GLIBC_2.2.5 __errno_location F
 GLIBC_2.2.5 flockfile F
 GLIBC_2.2.5 ftrylockfile F
 GLIBC_2.2.5 funlockfile F
-GLIBC_2.2.5 pthread_attr_getstack F
 GLIBC_2.2.5 pthread_attr_getstackaddr F
 GLIBC_2.2.5 pthread_attr_getstacksize F
 GLIBC_2.2.5 pthread_attr_setguardsize F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
index 299877f418..16ada0b4ae 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
@@ -1457,6 +1457,7 @@  GLIBC_2.16 pthread_attr_getinheritsched F
 GLIBC_2.16 pthread_attr_getschedparam F
 GLIBC_2.16 pthread_attr_getschedpolicy F
 GLIBC_2.16 pthread_attr_getscope F
+GLIBC_2.16 pthread_attr_getstack F
 GLIBC_2.16 pthread_attr_init F
 GLIBC_2.16 pthread_attr_setaffinity_np F
 GLIBC_2.16 pthread_attr_setdetachstate F
@@ -2331,6 +2332,7 @@  GLIBC_2.34 mtx_trylock F
 GLIBC_2.34 mtx_unlock F
 GLIBC_2.34 pthread_attr_getaffinity_np F
 GLIBC_2.34 pthread_attr_getguardsize F
+GLIBC_2.34 pthread_attr_getstack F
 GLIBC_2.34 pthread_barrier_destroy F
 GLIBC_2.34 pthread_barrier_init F
 GLIBC_2.34 pthread_barrier_wait F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
index 364ff410fa..444a6a45ae 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
@@ -9,7 +9,6 @@  GLIBC_2.16 __pthread_unregister_cancel_restore F
 GLIBC_2.16 flockfile F
 GLIBC_2.16 ftrylockfile F
 GLIBC_2.16 funlockfile F
-GLIBC_2.16 pthread_attr_getstack F
 GLIBC_2.16 pthread_attr_getstackaddr F
 GLIBC_2.16 pthread_attr_getstacksize F
 GLIBC_2.16 pthread_attr_setguardsize F