[patch] link_map: Use proper bias, not l_addr
Mark Wielaard
mjw at redhat.com
Thu Nov 21 14:08:07 UTC 2013
Hi Jan,
On Wed, 2013-11-20 at 20:41 +0100, Jan Kratochvil wrote:
> All the test results are sure very dependent on host files version and also
> their prelink status.
Yes, that is somewhat unfortunate.
> link_map: Use proper bias, not l_addr
>
> libdwfl/
> 2013-11-20 Jan Kratochvil <jan.kratochvil at redhat.com>
>
> link_map: Use proper bias, not l_addr.
> * core-file.c (dynamic_vaddr_get): Rename to ...
> (__libdwfl_dynamic_vaddr_get): ... here, make it global,
> internal_function.
> (dwfl_core_file_report): Update name in the caller.
> * libdwflP.h (__libdwfl_dynamic_vaddr_get): New declaration.
> * link_map.c (report_r_debug): New variable elf_dynamic_vaddr. Call
> __libdwfl_dynamic_vaddr_get for it. Remove L_ADDR FIXME comment.
> Use ELF_DYNAMIC_VADDR instead of L_ADDR.
Looks good.
Thanks,
Mark
More information about the elfutils-devel
mailing list