[0/9] Move most pthread_attr_t functions into libc

Message ID cover.1620662728.git.fweimer@redhat.com
Headers show
Series
  • Move most pthread_attr_t functions into libc
Related show

Message

Andreas K. Huettel via Libc-alpha May 10, 2021, 4:08 p.m.
This series moves most of the remaining pthread_attr_t functions into
libc.  (The default attribute handling is missing here.)

This is fairly standard stuff now, except for the GLIBC_2.6 version
needed by older (pre-LE) powerpc targets.

Tested on i686-linux-gnu, x86_64-linux-gnu; built with
build-many-glibcs.py.

Thanks,
Florian

Florian Weimer (9):
  nptl: Move pthread_attr_getaffinity_np into libc
  nptl: Move pthread_attr_getguardsize into libc
  nptl: Move pthread_attr_getstack into libc
  nptl: Move pthread_attr_getstackaddr into libc
  nptl: Move pthread_attr_getstacksize into libc
  nptl: Move pthread_attr_setguardsize into libc
  nptl: Move pthread_attr_setstack into libc
  nptl: Move pthread_attr_setstackaddr into libc
  nptl: Move pthread_attr_setstacksize into libc

 nptl/Makefile                                 | 18 +++++------
 nptl/Versions                                 | 31 ++++++++++++-------
 nptl/pthread_attr_getaffinity.c               |  8 +++--
 nptl/pthread_attr_getguardsize.c              | 10 ++++--
 nptl/pthread_attr_getstack.c                  |  9 ++++--
 nptl/pthread_attr_getstackaddr.c              |  9 ++++--
 nptl/pthread_attr_getstacksize.c              |  9 ++++--
 nptl/pthread_attr_setguardsize.c              | 10 ++++--
 nptl/pthread_attr_setstack.c                  | 31 +++++++++++--------
 nptl/pthread_attr_setstackaddr.c              |  9 ++++--
 nptl/pthread_attr_setstacksize.c              | 25 +++++++++------
 sysdeps/unix/sysv/linux/aarch64/libc.abilist  | 18 +++++++++++
 .../sysv/linux/aarch64/libpthread.abilist     |  9 ------
 sysdeps/unix/sysv/linux/alpha/libc.abilist    | 21 +++++++++++++
 .../unix/sysv/linux/alpha/libpthread.abilist  | 12 -------
 sysdeps/unix/sysv/linux/arc/libc.abilist      | 18 +++++++++++
 .../unix/sysv/linux/arc/libpthread.abilist    |  9 ------
 sysdeps/unix/sysv/linux/arm/be/libc.abilist   | 18 +++++++++++
 .../unix/sysv/linux/arm/be/libpthread.abilist |  9 ------
 sysdeps/unix/sysv/linux/arm/le/libc.abilist   | 18 +++++++++++
 .../unix/sysv/linux/arm/le/libpthread.abilist |  9 ------
 sysdeps/unix/sysv/linux/csky/libc.abilist     | 18 +++++++++++
 .../unix/sysv/linux/csky/libpthread.abilist   |  9 ------
 sysdeps/unix/sysv/linux/hppa/libc.abilist     | 19 ++++++++++++
 .../unix/sysv/linux/hppa/libpthread.abilist   | 10 ------
 sysdeps/unix/sysv/linux/i386/libc.abilist     | 19 ++++++++++++
 .../unix/sysv/linux/i386/libpthread.abilist   | 10 ------
 sysdeps/unix/sysv/linux/ia64/libc.abilist     | 21 +++++++++++++
 .../unix/sysv/linux/ia64/libpthread.abilist   | 12 -------
 .../sysv/linux/m68k/coldfire/libc.abilist     | 18 +++++++++++
 .../linux/m68k/coldfire/libpthread.abilist    |  9 ------
 .../unix/sysv/linux/m68k/m680x0/libc.abilist  | 19 ++++++++++++
 .../sysv/linux/m68k/m680x0/libpthread.abilist | 10 ------
 .../sysv/linux/microblaze/be/libc.abilist     | 18 +++++++++++
 .../linux/microblaze/be/libpthread.abilist    |  9 ------
 .../sysv/linux/microblaze/le/libc.abilist     | 18 +++++++++++
 .../linux/microblaze/le/libpthread.abilist    |  9 ------
 .../sysv/linux/mips/mips32/fpu/libc.abilist   | 21 +++++++++++++
 .../sysv/linux/mips/mips32/libpthread.abilist | 12 -------
 .../sysv/linux/mips/mips32/nofpu/libc.abilist | 21 +++++++++++++
 .../sysv/linux/mips/mips64/libpthread.abilist | 12 -------
 .../sysv/linux/mips/mips64/n32/libc.abilist   | 21 +++++++++++++
 .../sysv/linux/mips/mips64/n64/libc.abilist   | 21 +++++++++++++
 sysdeps/unix/sysv/linux/nios2/libc.abilist    | 18 +++++++++++
 .../unix/sysv/linux/nios2/libpthread.abilist  |  9 ------
 sysdeps/unix/sysv/linux/powerpc/Versions      |  5 +++
 .../sysv/linux/powerpc/libpthread-compat.c    | 24 ++++++++++++++
 .../sysv/linux/powerpc/powerpc32/Versions     |  4 ---
 .../linux/powerpc/powerpc32/fpu/libc.abilist  | 21 +++++++++++++
 .../powerpc/powerpc32/libpthread.abilist      | 13 +-------
 .../powerpc/powerpc32/nofpu/libc.abilist      | 21 +++++++++++++
 .../sysv/linux/powerpc/powerpc64/Versions     |  4 ---
 .../linux/powerpc/powerpc64/be/libc.abilist   | 21 +++++++++++++
 .../powerpc/powerpc64/be/libpthread.abilist   | 13 +-------
 .../linux/powerpc/powerpc64/le/libc.abilist   | 18 +++++++++++
 .../powerpc/powerpc64/le/libpthread.abilist   |  9 ------
 .../unix/sysv/linux/riscv/rv32/libc.abilist   | 18 +++++++++++
 .../sysv/linux/riscv/rv32/libpthread.abilist  |  9 ------
 .../unix/sysv/linux/riscv/rv64/libc.abilist   | 18 +++++++++++
 .../sysv/linux/riscv/rv64/libpthread.abilist  |  9 ------
 .../unix/sysv/linux/s390/s390-32/libc.abilist | 19 ++++++++++++
 .../linux/s390/s390-32/libpthread.abilist     | 10 ------
 .../unix/sysv/linux/s390/s390-64/libc.abilist | 19 ++++++++++++
 .../linux/s390/s390-64/libpthread.abilist     | 10 ------
 sysdeps/unix/sysv/linux/sh/be/libc.abilist    | 19 ++++++++++++
 .../unix/sysv/linux/sh/be/libpthread.abilist  | 10 ------
 sysdeps/unix/sysv/linux/sh/le/libc.abilist    | 19 ++++++++++++
 .../unix/sysv/linux/sh/le/libpthread.abilist  | 10 ------
 .../sysv/linux/sparc/sparc32/libc.abilist     | 21 +++++++++++++
 .../linux/sparc/sparc32/libpthread.abilist    | 12 -------
 .../sysv/linux/sparc/sparc64/libc.abilist     | 21 +++++++++++++
 .../linux/sparc/sparc64/libpthread.abilist    | 12 -------
 .../unix/sysv/linux/x86_64/64/libc.abilist    | 19 ++++++++++++
 .../sysv/linux/x86_64/64/libpthread.abilist   | 10 ------
 .../unix/sysv/linux/x86_64/x32/libc.abilist   | 18 +++++++++++
 .../sysv/linux/x86_64/x32/libpthread.abilist  |  9 ------
 76 files changed, 761 insertions(+), 357 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/powerpc/libpthread-compat.c

-- 
2.31.1