[PATCH-NPTL] TLS symbol handling in _dl_find_hash

Carmelo AMOROSO carmelo.amoroso at st.com
Fri Aug 25 08:31:12 UTC 2006


Hi Steve, All
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.

Rgds,
Carmelo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dl-hash.patch
Type: text/x-patch
Size: 1319 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060825/30322c69/attachment-0002.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dl-hash.c
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060825/30322c69/attachment.diff 


More information about the uClibc mailing list