[PATCH-NPTL] TLS symbol handling in _dl_find_hash

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Aug 28 12:35:34 UTC 2006


Steven J. Hill wrote:

>Carmelo AMOROSO wrote:
>  
>
>>I had a look into _dl_find_hash changes to handle TLS symbol.
>>Both CodeSourcery's and Steve's implementation are defining a new
>>_dl_find_hash function suitable
>>to handle TLS symbols.
>>I'd like to submit to your attention my own implementation. I simply
>>uses an I/O parameter referring to the
>>TLS module which resolves the target TLS symbol.
>>Only few changes are required in calling functions to meet the new
>>interface (that is guarded by USE_TLS).
>>Note that the patch is against uClinc-nptl branch at April, 28th. For
>>you convenience I attached both the patch
>>and the source file.
>>
>>    
>>
>I like this and would prefer to not have a second hash function. I was
>hoping to get to this, but you have done it and that is great! Let me
>test this out on Monday and if it passes all tests, I will use yours
>instead. Thanks.
>
>-Steve
>
>  
>
Well, it's a pleasure to actively contribute to this project.

Carmelo



More information about the uClibc mailing list