Re: [osv-dev] [PATCH] elf: handle new DT_RUNPATH

2019-05-19 Thread Nadav Har'El
Thanks. Good catch. -- Nadav Har'El n...@scylladb.com On Sat, May 18, 2019 at 1:02 AM Waldemar Kozaczuk wrote: > This patch enhances dynamic linker to resolve dependent > objects that rely on DT_RUNPATH entry to specify directories to search for. > > Some ELFs have both DT_RUNPATH and DT_RPATH

[osv-dev] [PATCH] elf: handle new DT_RUNPATH

2019-05-17 Thread Waldemar Kozaczuk
This patch enhances dynamic linker to resolve dependent objects that rely on DT_RUNPATH entry to specify directories to search for. Some ELFs have both DT_RUNPATH and DT_RPATH in which case our linker disregards the latter per specification. For details read slide "Finding shared libraries at run