[PR18457] Don't require rtld lock to compute DTV addr for static TLS

Carlos O'Donell carlos@redhat.com
Thu Jun 4 17:23:00 GMT 2015


On 06/03/2015 05:42 PM, Alexandre Oliva wrote:
> On Jun  3, 2015, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> 
>> Here's the core of my lack of understanding I guess - calling
>> __tls_get_addr for an IE variable.  Does that ever happen?
> 
> I guess it depends on what is meant by "IE variable".
> 
> I meant it as a TLS variable defined as part of the initial module set,
> i.e., the main executable and the transitive closure of its
> dependencies.
> 
> Now, if you understood it as a variable declared with the initial-exec
> tls_model attribute, I apologize for the confusion.

An IE variable is exactly a variable using initial-exec tls model.

There is no other definition that I am aware of.

Cheers,
Carlos.



More information about the Libc-alpha mailing list