This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PR18457] Don't require rtld lock to compute DTV addr for static TLS
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 04 Jun 2015 12:56:39 -0400
- Subject: Re: [PR18457] Don't require rtld lock to compute DTV addr for static TLS
- Authentication-results: sourceware.org; auth=none
- References: <orvbf5ffyt dot fsf at livre dot home> <20150603152448 dot GC32684 at spoyarek dot pnq dot redhat dot com> <or6174g2gb dot fsf at livre dot home> <20150603172402 dot GD32684 at spoyarek dot pnq dot redhat dot com> <ormw0geaez dot fsf at livre dot home>
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.