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: [PR19826] fix non-LE TLS in static programs


On Dec  2, 2016, "Carlos O'Donell" <carlos@redhat.com> wrote:

>> This patch broke non-optimized global-dynamic TLS on aarch64 (for
>> shared builds), as shown by my new tst-tls-manydynamic test case.

> Does reverting Alex's patch fix tst-tls-manydynamic?

That would break TLS on static programs on platforms that don't mandate
GD-to-LE relaxations again.

We just have to revert the two pieces of the first patch that are
broken, which is what the second patch I posted does.  It was a follow
up to Andreas' approval for the first.

We wouldn't really have revert both of them, as Florian afonud out, but
since they play similar roles in threaded and non-threaded programs, it
would make more sense to keep their behavior in sync.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer


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