nptl: Remove pthread raise implementation

System Internals / glibc - Adhemerval Zanella [linaro.org] - 26 March 2021 16:37 UTC

The Linux version already target the current thread by using tgkill along with getpid and gettid.

For arm, libpthread does not do a intra PLT since it will call the raise from libc.

Checked on x86_64-linux-gnu.

ff1e342cd1 nptl: Remove pthread raise implementation
nptl/Makefile | 1 -
nptl/Versions | 1 -
nptl/pt-raise.c | 29 ----------------------
sysdeps/unix/sysv/linux/aarch64/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/alpha/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/arc/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/arm/be/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/arm/le/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/arm/localplt.data | 1 -
sysdeps/unix/sysv/linux/csky/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/hppa/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/i386/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/ia64/libpthread.abilist | 1 -
.../sysv/linux/m68k/coldfire/libpthread.abilist | 1 -
.../unix/sysv/linux/m68k/m680x0/libpthread.abilist | 1 -
.../sysv/linux/microblaze/be/libpthread.abilist | 1 -
.../sysv/linux/microblaze/le/libpthread.abilist | 1 -
.../unix/sysv/linux/mips/mips32/libpthread.abilist | 1 -
.../unix/sysv/linux/mips/mips64/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/nios2/libpthread.abilist | 1 -
.../linux/powerpc/powerpc32/libpthread.abilist | 1 -
.../linux/powerpc/powerpc64/be/libpthread.abilist | 1 -
.../linux/powerpc/powerpc64/le/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/pt-raise.c | 20 ---------------
.../unix/sysv/linux/riscv/rv32/libpthread.abilist | 1 -
.../unix/sysv/linux/riscv/rv64/libpthread.abilist | 1 -
.../sysv/linux/s390/s390-32/libpthread.abilist | 1 -
.../sysv/linux/s390/s390-64/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/sh/be/libpthread.abilist | 1 -
sysdeps/unix/sysv/linux/sh/le/libpthread.abilist | 1 -
.../sysv/linux/sparc/sparc32/libpthread.abilist | 1 -
.../sysv/linux/sparc/sparc64/libpthread.abilist | 1 -
.../unix/sysv/linux/x86_64/64/libpthread.abilist | 1 -
.../unix/sysv/linux/x86_64/x32/libpthread.abilist | 1 -
34 files changed, 81 deletions(-)

Upstream: sourceware.org


  • Share