RFC: Add DT_FLAGS_2 and DF_2_GNU_IFUNC

Florian Weimer fweimer@redhat.com
Fri May 25 20:35:00 GMT 2018


On 05/25/2018 07:47 PM, H.J. Lu wrote:
> This patch extends gABI with DT_FLAGS_2 and DF_2_GNU_IFUNC to indicate
> that a shared object or executable has IFUNC symbols so that dynamic
> linker can relocate it early.

I don't think this will solve any of the thorny cases.  It may help with 
missing DT_NEEDED entries, but that's only a small subset of the issues, 
and as far as linking against glibc is concerned, such binaries are 
invalid anyway.

Thanks,
Florian



More information about the Binutils mailing list