[PATCH] x86: Improve TLS transition error check

Jan Beulich jbeulich@suse.com
Wed Jul 24 06:26:36 GMT 2024


On 24.07.2024 05:54, H.J. Lu wrote:
> Provide detailed TLS transition errors when unsupported instructions are
> used.  Treat R_X86_64_CODE_4_GOTTPOFF and R_X86_64_CODE_6_GOTTPOFF as
> R_X86_64_GOTTPOFF when performing TLS transition.

General question (the code was like this before, just with less details in
the diagnostic): Do such failures really need to be errors? What if the
code is correct all by itself, just that the linker can't do the transition?

Jan


More information about the Binutils mailing list