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

Fangrui Song maskray@google.com
Fri Jan 7 23:45:59 GMT 2022


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?


> 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.


More information about the Binutils mailing list