This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PowerPC64 TLS ABI
On Sat, Jan 18, 2003 at 12:50:03PM +1100, Paul Mackerras wrote:
> But the linker still needs to know the size of the TCB in this scheme,
> no? Is that potentially a problem?
Well, there's the "TCB" as described in the TLS document,
which is fixed at 16 bytes in the variant I scheme. Or,
I suppose, at 2 pointers; to-date no 32-bit port has used
that scheme.
Then there's the pthread descriptor structure, which is
separate. The linker doesn't have to know about this.
We do magic in the thread library itself to set things
up and access it.
r~