[PATCH 0/10] ld: Implement DT_RELR for x86

H.J. Lu hjl.tools@gmail.com
Fri Jan 7 23:56:58 GMT 2022


On Fri, Jan 7, 2022 at 3:46 PM Fangrui Song <maskray@google.com> wrote:
>
> On 2022-01-07, H.J. Lu via Libc-alpha wrote:
> >Hi Nick,
> >
> >I'd like to enable DT_RELR for x86 in binutils 2.38.
> >
> >
> >H.J.
> >---
>
> Thanks for the patch!
>
> Is the Clang crash
> https://sourceware.org/pipermail/libc-alpha/2022-January/134992.html
> fixed now?
>

It should be fixed.  Please try my current DT_RELR branch.

> > 10/10 ld: Add glibc dependency for DT_RELR
> >
> > if (!glibc_bfd && startswith (a->vna_nodename, "GLIBC_2."))
>
> Thanks for adding the GLIBC_ABI_DT_RELR verneed only if GLIBC_2.* exists, this will make
> musl/FreeBSD/NetBSD/etc happy.


-- 
H.J.


More information about the Libc-alpha mailing list