[PATCH] PPC64 Linuxthreads tls.h M2
Roland McGrath
roland@redhat.com
Fri Feb 28 00:27:00 GMT 2003
> The pthread_descr and tcbhead are separate and pthread_descr does not
> need to change (not like S390 which hides the tcb in the pthread_descr
> header). The tcbhead_t follows the pthread_descr and the first tls block
> follows the tcbhead_t. That is what "#define TLS_DTV_AT_TP 1" does.
I am well aware of how TLS works.
> The patch I sent
> (http://sources.redhat.com/ml/libc-alpha/2003-02/msg00228.html)should
> work for both PPC32/PPC64
It breaks the non-TLS build (which is the only kind doable on ppc32 yet)
because of the existing linuxthreads code's use of tcbhead_t.
More information about the Libc-alpha
mailing list