This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Dead code in 'elf/rtld.c' with respect to USE___THREAD?
- From: Roland McGrath <roland at redhat dot com>
- To: "Steven J. Hill" <sjhill at realitydiluted dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 19 Sep 2005 21:49:48 -0700 (PDT)
- Subject: Re: Dead code in 'elf/rtld.c' with respect to USE___THREAD?
> 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.