This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use IE model for static variables in glibc
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: ramrad01 at arm dot com, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: Roland McGrath <roland at hack dot frob dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 14 Jul 2015 16:48:43 -0400
- Subject: Re: [PATCH] Use IE model for static variables in glibc
- Authentication-results: sourceware.org; auth=none
- References: <20150709180544 dot GA8522 at spoyarek dot pnq dot redhat dot com> <20150709204033 dot 262B02C39DC at topped-with-meat dot com> <20150710051823 dot GH2816 at spoyarek dot pnq dot redhat dot com> <CAJA7tRaPj8z2T+g69LXLapQpu9ThEZH-5UbOVEWmT==-V878_Q at mail dot gmail dot com>
On 07/10/2015 08:37 PM, Ramana Radhakrishnan wrote:
> On Fri, Jul 10, 2015 at 6:18 AM, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
>> On Thu, Jul 09, 2015 at 01:40:33PM -0700, Roland McGrath wrote:
>
> <snip>
>>
>> I also have to look at the impact on ARM since it uses
>> -ftls-model=gnu2 to get tls descriptors. I reckon it would actually
>> be an improvement, but I'd like to make sure that it is. There's also
>> a good case IMO to somehow compute static TLS usage within libc.so and
>> libpthread.so and add that to the surplus. That way the surplus would
>> be reserved specifically for user DSOs that absolutely want to use IE
>> and libc will never encroach that. Again a good project for 2.23.
>
> FYI, while -ftls-model=gnu2 isn't default on AArch32 - on AArch64 tls
> descriptors are the default, so you could test it there if you had
> access to such hardware.
We absolutely have access to aarch64 hardware. So we'll test there.
c.