see
https://docs.oracle.com/cd/E19683-01/817-3677/chapter6-42444/index.html
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
if (curr->d_tag != DT_STRTAB)
continue;
if (curr->d_tag != DT_STRTAB)
continue;
- strtab = map + (curr->d_un.d_val - load_offset);
+ strtab = map + (curr->d_un.d_ptr - load_offset);
if (curr->d_tag != DT_STRTAB)
continue;
if (curr->d_tag != DT_STRTAB)
continue;
- strtab = map + (curr->d_un.d_val - load_offset);
+ strtab = map + (curr->d_un.d_ptr - load_offset);