tech-toolchain archive

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

Re: ABIS and TLS (thread local support)



On Wed, 2008-04-30 at 23:05 -0700, Matt Thomas wrote:
> When we go to libc.13, I was wondering if we should also at least  
> compile stuff so
> that if/when we support the thread local support ELF relocations &  
> ABI, we don't
> have to rebuild everything.  For ARM, this would be simply excluding  
> the use of
> r9.
> 


While the ARM EABI permits reserving r9 as a TLS register, the ARM Linux
developers concluded that this wasn't a good use of the resource.  More
recent processors have a register visible in cp15 that can be used for
the TLS base, and various solutions were adopted to support older cores.
I'd strongly suggest we adopt similar solutions in NetBSD.

R.

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.




Home | Main Index | Thread Index | Old Index