This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC64 enable with-tls
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: sjmunroe at vnet dot ibm dot com, libc-alpha at sources dot redhat dot com, bergner at vnet dot ibm dot com, Alan Modra <amodra at bigpond dot net dot au>
- Date: Tue, 25 Feb 2003 20:02:02 +0100
- Subject: Re: [PATCH] PPC64 enable with-tls
- References: <3E5A4E28.81A5530B@us.ibm.com> <20030225093411.A13795@twiddle.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Feb 25, 2003 at 09:34:11AM -0800, Richard Henderson wrote:
> On Mon, Feb 24, 2003 at 10:54:00AM -0600, Steven Munroe wrote:
> > "Dynamic thread vector pointers point 0x8000 past the start of each TLS
> > block. This allows the first 64K of each block to be addressed from a
> > dtv pointer using fewer machine instructions. "
>
> Eh? I thought we agreed on 0x7000, so that the thread library itself
> got 4k worth of quick access.
0x8000 is what it uses to offset dtv[] pointers as I understand, and
%r13 + 0x7000 is the TCB.
Jakub