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] libdwfl/linux-kernel-modules.c (report_kernel): Pass add_p_vaddr as true.


On Thu, 2013-08-22 at 13:45 +0200, Mark Wielaard wrote:
> On some architectures (e.g. x86_64) the vmlinux is ET_EXEC, while on
> others (e.g. ppc64) it is ET_DYN.  In both cases the phdr p_vaddr will
> be non-zero.  We want the image to be placed as if it was ET_DYN, so
> pass true for add_p_vaddr which will do the right thing (in combination
> with a zero base) in either case.

I pushed this and will also backport it to the fedora elfutils package
since it fixes an issue on ppc64 the systemtap hackers are seeing.

Cheers,

Mark


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