[PATCH] PPC64 Linuxthreads tls.h M2

Steven Munroe sjmunroe@vnet.ibm.com
Fri Feb 28 00:15:00 GMT 2003


 > Ok.  I will look into reconciling the old linuxthreads ppc32
 > definition with TLS.

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.

The patch I sent 
(http://sources.redhat.com/ml/libc-alpha/2003-02/msg00228.html)should 
work for both PPC32/PPC64



More information about the Libc-alpha mailing list