[PATCH-NPTL] TLS symbol handling in _dl_find_hash

Steven J. Hill sjhill at realitydiluted.com
Sun Aug 27 02:18:25 UTC 2006


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



More information about the uClibc mailing list