[PATCH] Use IE model for static variables in glibc
Ramana Radhakrishnan
ramana.gcc@googlemail.com
Sat Jul 11 00:37:00 GMT 2015
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
More information about the Libc-alpha
mailing list