[patch 2/2] Add add_p_vaddr to dwfl_report_elf

Mark Wielaard mjw at redhat.com
Fri May 3 07:43:14 UTC 2013


On Thu, May 02, 2013 at 05:11:13PM +0200, Jan Kratochvil wrote:
> While your paragraph is definitely better it is all too complicated.
> What about:
> 
>          ADD_P_VADDR  BASE      
> ET_EXEC  ignored      ignored   
> ET_DYN   false        absolute address where to place the file
>          true         start address relative to ELF's phdr p_vaddr
> ET_REL   ignored      absolute address where to place the file
> ET_CORE  ignored      ignored   
> 
> ET_DYN ELF phdr p_vaddr address can be non-zero if the shared library has been
> prelinked by tool prelink(8).

Nice idea. A table is much clearer than trying to describe it all in
"readable" English sentences.

> OK this way?

Yes, I like it.

Thanks,

Mark


More information about the elfutils-devel mailing list