Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Nigel Stephens <nigel@xxxxxxxx>
  • Subject: Re: [mips-tls] Revised versions of MIPS TLS ABI specification
  • From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
  • Date: Tue, 9 Nov 2004 19:09:06 -0500

On Tue, Nov 09, 2004 at 11:38:20PM +0000, Nigel Stephens wrote:
> >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?

That's correct.  We can define the size of the TCB as fixed, so we can
place TLS blocks after it.  We could even allow application access to
the DTV... if there was benefit shown.

-- 
Daniel Jacobowitz