This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] link_map: Use proper bias, not l_addr


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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]