Dead code in 'elf/rtld.c' with respect to USE___THREAD?

Roland McGrath roland@redhat.com
Tue Sep 20 04:49:00 GMT 2005


> I am curious about the code blocks in 'elf/rtld.c' that are surrounded
> by '#if USE___THREAD'. How can this code ever be activated? 

It isn't in use right now.  It can't be used unless tls.h is changed.  It
was originally used for a while during the development of the TLS support.
Among other things, it isn't actually any kind of win for ld.so's own code.
It might one day be useful again.  I might well use it for the Hurd
configurations when TLS support works there.




More information about the Libc-alpha mailing list