<div dir="auto"><div dir="auto">On Wed, Jul 24, 2024, 2:26 PM Jan Beulich <<a href="mailto:jbeulich@suse.com">jbeulich@suse.com</a>> wrote:<br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 24.07.2024 05:54, H.J. Lu wrote:<br>
> Provide detailed TLS transition errors when unsupported instructions are<br>
> used. Treat R_X86_64_CODE_4_GOTTPOFF and R_X86_64_CODE_6_GOTTPOFF as<br>
> R_X86_64_GOTTPOFF when performing TLS transition.<br>
<br>
General question (the code was like this before, just with less details in<br>
the diagnostic): Do such failures really need to be errors? What if the<br>
code is correct all by itself, just that the linker can't do the transition?<br></blockquote></div><div dir="auto"><br></div><div dir="auto">TLS ABI only support some specific code sequences.</div><div dir="auto">See the related GCC bug for an example.</div><div dir="auto">Without the linker error, the GCC bug may go undetected.</div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Jan<br><br>
</blockquote></div></div>