glibc/sysdeps
Mathieu Desnoyers 0c76fc3c2b Linux: Perform rseq registration at C startup and thread creation
Register rseq TLS for each thread (including main), and unregister for
each thread (excluding main).  "rseq" stands for Restartable Sequences.

See the rseq(2) man page proposed here:
  https://lkml.org/lkml/2018/9/19/647

Those are based on glibc master branch commit 3ee1e0ec5c.
The rseq system call was merged into Linux 4.18.

The TLS_STATIC_SURPLUS define is increased to leave additional room for
dlopen'd initial-exec TLS, which keeps elf/tst-auditmany working.

The increase (76 bytes) is larger than 32 bytes because it has not been
increased in quite a while.  The cost in terms of additional TLS storage
is quite significant, but it will also obscure some initial-exec-related
dlopen failures.
2020-07-06 10:21:16 +02:00
..
aarch64 aarch64: MTE compatible strncmp 2020-06-23 17:55:39 +01:00
alpha alpha: Use builtin sqrt{f} 2020-06-22 11:09:49 -03:00
arm arm: Use sqrt{f} builtin 2020-06-22 11:09:50 -03:00
csky
generic Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
gnu
hppa
htl htl: Move cleanup handling to non-private libc-lock 2020-06-28 00:13:57 +00:00
hurd hurd: Fix port definition in HURD_PORT_USE_CANCEL 2020-06-28 18:04:26 +00:00
i386 i386: Use builtin sqrtl 2020-06-22 11:09:49 -03:00
ia64
ieee754
m68k m68k: Use sqrt{f} builtin for coldfire 2020-06-22 11:09:50 -03:00
mach hurd: Simplify usleep timeout computation 2020-06-29 10:10:32 +02:00
microblaze
mips mips: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
nios2
nptl
posix
powerpc powerpc: Add support for POWER10 2020-06-29 10:08:38 -03:00
pthread htl: Enable cancel*16 an cancel*20 tests 2020-06-29 00:16:33 +00:00
riscv riscv: Use sqrt{f} builtin 2020-06-22 11:09:50 -03:00
s390 S390: Optimize __memset_z196. 2020-06-26 09:45:11 +02:00
sh
sparc sparc: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
unix Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
wordsize-32
wordsize-64
x86 x86: Detect Intel Advanced Matrix Extensions 2020-06-26 06:53:05 -07:00
x86_64 i386: Use builtin sqrtl 2020-06-22 11:09:49 -03:00