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

Mark Mitchell mark at codesourcery.com
Thu Nov 4 17:13:06 UTC 2004


Daniel Jacobowitz wrote:

>So for local dynamic, offsets would be biased by 0x8000 instead of 0;
>for initial exec, offsets would be biased by -0x7000 instead of +8. 
>This leaves room for the pthread descriptor to be accessed in a single
>instruction as long as it is no more than 4k-8 bytes.
>
>Shall we use this model?
>  
>
It's OK by me.  Are there any special values (0x7ff0 was mentioned?) 
that make more sense than just 0x8000 and -0x7000, due to the specific 
way in which MIPS hardware works?  Or, which would be easier to 
implement because the linker, etc., are already set up to deal with them?

Ralf, I guess we need to work out who has the authority to change the 
public Wiki page you're going to create.  We certainly want this to be a 
consensus effort.  Is it OK for Daniel to make updates?  Also, since the 
text I've been sending around came from our Wiki (which is ZWiki) would 
it help to have the Wiki-formatted version to start with?

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark at codesourcery.com




More information about the mips-tls mailing list