[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: Audit external function called indirectly via GOT
* H. J. Lu:
>> Could we ship a template for the PLT entries in ld.so instead? And if
>> needed, map it from the file together with an address array, like this?
>
> This won't work since linker needs to know exactly PLT layout to generate
> JUMP_SLOT relocations for LD_AUDIT.
Why would we need JUMP_SLOT relocations? Couldn't we install suitable
interceptors for GLOB_DAT relocations instead, as long as they resolve
to external function symbols?