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: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
  • Subject: Re: [mips-tls] Revised versions of MIPS TLS ABI specification
  • From: Nigel Stephens <nigel@xxxxxxxx>
  • Date: Tue, 09 Nov 2004 23:38:20 +0000



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