[llvm-dev] [lld][ELF] Add option to make .dynamic read only

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Tue May 23 17:18:29 PDT 2017


Petr Hosek <phosek at chromium.org> writes:

>> BTW, dynamic linkers really never relocate the .d_ptr entries?
>>
>
> musl's dynamic linker doesn't and neither ours. Older versions of glibc's
> dynamic linker do, but I'm not sure about the newer ones.

Could you check what current glibc does by testing a simple program with
your patch to make .dynamic ro?

Cheers,
Rafael


More information about the llvm-dev mailing list