[mips-tls] Revised versions of MIPS TLS ABI specification

Nigel Stephens nigel at mips.com
Tue Nov 9 23:38:20 UTC 2004



Daniel Jacobowitz wrote:

>Take a look at
>  ftp://ftp.linuxppc64.org/pub/people/amodra
>
>(from memory; I hope I got the path right.)
>
>  
>

Thanks.

>No.  This is a variant I model, which means that the size and layout of
>the TCB are known; it's in variant II that the TCB is indeterminate. In
>variant I the TLS areas have a positive offset from the TCB, which
>starts with a pointer to the DTV; in variant II they have a negative
>offset from the TCB, which has indeterminate contents.  In either case
>the static linker can resolve IE/LE references that bind to the local
>executable.
>  
>

Ah, yes. So variant I works because we are defining the TCB structure 
and we don't require compatibility with any pre-existing TLS library. Right?

Nigel



More information about the mips-tls mailing list