This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use IE model for static variables in glibc


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.


Ramana

>
> Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]