bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with


From: amodra at gmail dot com
Subject: [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt
Date: Mon, 25 Nov 2024 09:42:16 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32387

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Yes, as things stand the inline plt code emitted by gcc is incompatible with
the linker telling glibc ld.so (via DT_PPC64_OPT & PPC64_OPT_TLS) to
short-circuit tls_get_addr calls at runtime.

I think I'd fix this in the linker by detecting whether any of the inline plt
relocs against __tls_get_addr exist, and forcing tls_get_addr_opt = 0 if found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]