This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC64 Linuxthreads tls.h M2
- From: Roland McGrath <roland at redhat dot com>
- To: sjmunroe at us dot ibm dot com
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 27 Feb 2003 16:27:49 -0800
- Subject: Re: [PATCH] PPC64 Linuxthreads tls.h M2
> 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.