[PATCH] LoongArch: Disallow TLS transition when a section contains TLS_IE64 or TLS_DESC64 reloc

Nick Clifton nickc@redhat.com
Thu Jan 25 13:49:56 GMT 2024


Hi Xi,

> We cannot do TLS transition for them without a psABI revision marking
> some "key" instructions with reloc.  Disallow the transition when we see
> such a reloc in a section to prevent an invalid "partial" transition.

> To Nick:
> 
> Sorry for another late update, but we need this for 2.42 or anything
> compiled with -mcmodel=extreme and using errno will just blow up :(.

Ok, well that is a good enough reason to allow the patch into the 2.42 branch - please apply.

Cheers
   Nick




More information about the Binutils mailing list