Pthread patches for TLS

David Xu davidxu at freebsd.org
Fri Aug 6 05:59:26 PDT 2004


Doug Rabson wrote:

>>  http://docs.freebsd.org/mail/archive/2003/freebsd-arch/20030330.freebsd-arch.html
>>
>>Look for "Not providing static libraries", Mar 26, 2003, freebsd-arch
>>
>>Note that Solaris doesn't have static thread libraries.  I'm not sure about
>>Linux...
>>    
>>
>
>I thought I was in luck when I noticed the AT_PHDR entry but
>unfortunately its NULL in static programs. I reckon I can fix that in
>the kernel since the phdrs are definately inside the first load segment.
>
>  
>
I hope the current tls structure will be kept both in rtld and libpthread,
I have already done tls debugger support locally this afternoon.




More information about the freebsd-threads mailing list