[PATCH v2] x86: Improve TLS transition error check

H.J. Lu hjl.tools@gmail.com
Thu Jul 25 20:10:35 GMT 2024


On Fri, Jul 26, 2024, 3:47 AM Sam James <sam@gentoo.org> wrote:

> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
> > On Wed, Jul 24, 2024, 2:45 PM Sam James <sam@gentoo.org> wrote:
> >
> >  "H.J. Lu" <hjl.tools@gmail.com> writes:
> >
> >  > 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.
> >
> >  Do you expect the need for a v3 or shall I start builds with this?
> >
> > I don't expect v3.
>
> Thanks. I had no serious issues so far, but I plan to test on a bigger
> package
> set now.
>
> Small issue:
> "a-argp-help.o(.text+0x12f): relocation R_X86_64_GOTTPOFF against `a' must
> be used in ADD or MOV onlyld: final link failed: bad value"
> ... has missing newline before "ld:".
>

Fixed on master and 2.43 branches.

Thanks.


> thanks,
> sam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20240726/910d32ac/attachment.htm>


More information about the Binutils mailing list