[PATCH] LoongArch: Disallow TLS transition when a section contains TLS_IE64 or TLS_DESC64 reloc
Xi Ruoyao
xry111@xry111.site
Thu Jan 25 13:52:18 GMT 2024
On Thu, 2024-01-25 at 13:49 +0000, Nick Clifton wrote:
> 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.
It will still need an approval from Qinggang.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
More information about the Binutils
mailing list