gold version of https://sourceware.org/bugzilla/show_bug.cgi?id=27923 (GNU ld support).
I have a patch which will be posted soon.
The patch implements ld.lld flavored --pack-dyn-relocs=relr.
It doesn't do any "time travel compatibility" (https://maskray.me/blog/2021-10-31-relative-relocations-and-relr#time-travel-compatibility).
Such mechanism is unnecessary for many groups because they do not want to bump EI_ABIVERSION or synthesize a glibc flavored versioned symbol.
If glibc (actually some distro, not even necessarily the majority) is really fond of "time-travel-compatibility", perhaps we can add something like --pack-dyn-relocs=relr-glibc, but I'd be very sad to see a dedicated option variant is added (for the first time) for one particular libc implementation.
Patch: https://sourceware.org/pipermail/binutils/2021-November/118567.html ("[PATCH] gold: Add --pack-dyn-relocs=relr for arm/aarch64/x86-64 [PR 28601]")