tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: TLS support?
On Wed, May 06, 2009 at 11:30:42PM -0700, Phil Nelson wrote:
> Hi,
>
> I recently ran into some code using the __thread qualifier and it appears
> that it is not supported on at least the i386 platform. Using that in a
> shared
> library generated an undefined ___tls_get_addr() call and just using it in
> a simple program with pthreads causes a seg fault.
>
> I was wondering if anyone knew the state of TLS support and/or what it
> would take to get it fully supported.
>
This is on my TODO list. Changes are needed to the dynamic linker and
libpthread to make it work.
I'm not really an x86 guy, but I think that with Andrew's recent
cpu_lwp_setprivate() changes all the x86 support required from the
kernel is present.
If you're interested in helping out let me know!
Home |
Main Index |
Thread Index |
Old Index