powerpc: Make PT_THREAD_POINTER available to assembly code

System Internals / glibc - Matheus Castanho [linux.ibm.com] - 24 November 2020 17:15 UTC

PT_THREAD_POINTER is currenty defined inside a #ifndef __ASSEMBLER__ block, but its usage should not be limited to C code, as it can be useful when accessing the TLS from assembly code as well.

1e0a7fd099 powerpc: Make PT_THREAD_POINTER available to assembly code
sysdeps/powerpc/nptl/tls.h | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)

Upstream: sourceware.org


  • Share