[PATCH v2 0/9] ld: Implement DT_RELR for x86

Alexander Monakov amonakov@ispras.ru
Sun Jan 9 08:13:41 GMT 2022


On Sat, 8 Jan 2022, Fangrui Song wrote:

> Thank you so much for the heroic work.
> I cannot think of other items.

I am bummed that Rich Felker's solution for compatibility (sane diagnostic
for loading a new PIE/DSO with old ld.so) was not accepted:
https://sourceware.org/pipermail/libc-alpha/2021-November/133313.html

(add just one new relocation to indicate presence of SHT_RELR)

It would have been a nice solution that works the same across all OS'es,
without requiring changes in ld.so. Was there something wrong with it?

Alexander


More information about the Libc-alpha mailing list