This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Purpose of attribute_tls_model_ie
- From: Florian Weimer <fweimer at redhat dot com>
- To: Alexander Monakov <amonakov at ispras dot ru>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Oct 2015 15:29:25 +0200
- Subject: Re: Purpose of attribute_tls_model_ie
- Authentication-results: sourceware.org; auth=none
- References: <5620D4D3 dot 5060109 at redhat dot com> <alpine dot LNX dot 2 dot 20 dot 1510161610380 dot 7821 at monopod dot intra dot ispras dot ru>
On 10/16/2015 03:25 PM, Alexander Monakov wrote:
> A problem with the attribute is that it disallows the compiler to optimize
> initial-exec to local-exec for accesses to locally-defined variables. Is that
> what you meant?
Yes, this seems to be what is happening. It overrides the
variable-specific compiler decision. Thanks for explaining it more clearly.
So the remaining question is: do we want this?
Thanks,
Florian