nptl: Add <thread_pointer.h> for defining __thread_pointer
authorFlorian Weimer <fweimer@redhat.com>
Thu, 9 Dec 2021 08:49:32 +0000 (09:49 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 9 Dec 2021 08:49:32 +0000 (09:49 +0100)
commit8dbeb0561eeb876f557ac9eef5721912ec074ea5
treec795e63ee2ed0197a52379492a678149f2b93cb7
parent409a73581687914ac0555f6a468469578f97e70f
nptl: Add <thread_pointer.h> for defining __thread_pointer

<tls.h> already contains a definition that is quite similar,
but it is not consistent across architectures.

Only architectures for which rseq support is added are covered.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
sysdeps/nptl/thread_pointer.h [new file with mode: 0644]
sysdeps/powerpc/nptl/thread_pointer.h [new file with mode: 0644]
sysdeps/x86/nptl/thread_pointer.h [new file with mode: 0644]