Linux: Remove rseq support

System Internals / glibc - Florian Weimer [redhat.com] - 16 July 2020 15:55 UTC

The kernel ABI is not finalized, and there are now various proposals to change the size of struct rseq, which would make the glibc ABI dependent on the version of the kernels used for building glibc. This is of course not acceptable.

This reverts commit 48699da1c468543ade14777819bd1b4d652709de ("elf: Support at least 32-byte alignment in static dlopen"), commit 8f4632deb3545b2949cec5454afc3cb21a0024ea ("Linux: rseq registration tests"), commit 6e29cb3f61ff5432c78a1c84b0d9b123a350ab36 ("Linux: Use rseq in sched_getcpu if available"), and commit 0c76fc3c2b346dc5401dc055d97d4279632b0fb3 ("Linux: Perform rseq registration at C startup and thread creation"), resolving the conflicts introduced by the ARC port and the TLS static surplus changes.

efedd1ed3d Linux: Remove rseq support
NEWS | 10 -
csu/libc-tls.c | 6 -
elf/dl-tls.c | 8 +-
elf/libc_early_init.c | 5 -
manual/threads.texi | 64 ------
nptl/pthread_create.c | 13 --
sysdeps/generic/rseq-internal.h | 26 ---
sysdeps/unix/sysv/linux/Makefile | 15 +-
sysdeps/unix/sysv/linux/Versions | 1 -
sysdeps/unix/sysv/linux/aarch64/bits/rseq.h | 43 ----
sysdeps/unix/sysv/linux/aarch64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/alpha/libc.abilist | 1 -
sysdeps/unix/sysv/linux/arc/libc.abilist | 1 -
sysdeps/unix/sysv/linux/arm/be/libc.abilist | 1 -
sysdeps/unix/sysv/linux/arm/bits/rseq.h | 83 -------
sysdeps/unix/sysv/linux/arm/le/libc.abilist | 1 -
sysdeps/unix/sysv/linux/bits/rseq.h | 29 ---
sysdeps/unix/sysv/linux/csky/libc.abilist | 1 -
sysdeps/unix/sysv/linux/hppa/libc.abilist | 1 -
sysdeps/unix/sysv/linux/i386/libc.abilist | 1 -
sysdeps/unix/sysv/linux/ia64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | 1 -
sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | 1 -
sysdeps/unix/sysv/linux/microblaze/be/libc.abilist | 1 -
sysdeps/unix/sysv/linux/microblaze/le/libc.abilist | 1 -
sysdeps/unix/sysv/linux/mips/bits/rseq.h | 62 -----
.../unix/sysv/linux/mips/mips32/fpu/libc.abilist | 1 -
.../unix/sysv/linux/mips/mips32/nofpu/libc.abilist | 1 -
.../unix/sysv/linux/mips/mips64/n32/libc.abilist | 1 -
.../unix/sysv/linux/mips/mips64/n64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/nios2/libc.abilist | 1 -
sysdeps/unix/sysv/linux/powerpc/bits/rseq.h | 37 ---
.../sysv/linux/powerpc/powerpc32/fpu/libc.abilist | 1 -
.../linux/powerpc/powerpc32/nofpu/libc.abilist | 1 -
.../sysv/linux/powerpc/powerpc64/be/libc.abilist | 1 -
.../sysv/linux/powerpc/powerpc64/le/libc.abilist | 1 -
sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/rseq-internal.h | 73 ------
sysdeps/unix/sysv/linux/rseq-sym.c | 26 ---
sysdeps/unix/sysv/linux/s390/bits/rseq.h | 37 ---
sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | 1 -
sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/sched_getcpu.c | 22 +-
sysdeps/unix/sysv/linux/sh/be/libc.abilist | 1 -
sysdeps/unix/sysv/linux/sh/le/libc.abilist | 1 -
sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | 1 -
sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/sys/rseq.h | 203 ----------------
sysdeps/unix/sysv/linux/tst-rseq-nptl.c | 256 ---------------------
sysdeps/unix/sysv/linux/tst-rseq.c | 64 ------
sysdeps/unix/sysv/linux/tst-rseq.h | 59 -----
sysdeps/unix/sysv/linux/x86/bits/rseq.h | 30 ---
sysdeps/unix/sysv/linux/x86_64/64/libc.abilist | 1 -
sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist | 1 -
54 files changed, 6 insertions(+), 1197 deletions(-)

Upstream: sourceware.org


  • Share