This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC linuxthreads tls.h fix
- From: Roland McGrath <roland at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Paul Mackerras <paulus at samba dot org>, sjmunroe at vnet dot ibm dot com,libc-alpha <libc-alpha at sources dot redhat dot com>,Franz-Sirl <Franz-Sirl at lauterbach dot com>
- Date: Thu, 27 Feb 2003 18:06:38 -0800
- Subject: Re: [PATCH] PPC linuxthreads tls.h fix
> I'm not at all fussed over what you do with the TCB. Since our tls
> abi has the thread pointer relative to the end of the TCB, you can
> change what's in TCB and its size, and binutils and gcc won't be
> affected. Perhaps our ABI document shouldn't even mention the size
> of the TCB.
He is talking about the words the thread register points to, i.e. the
word(s) after the DTV pointer. This is what the TLS document calls the TCB
in "variant I" (TLS_DTV_AT_TP). Statically laid-out TLS offsets begin
immediately after this.