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 _______________________________________________ elfutils-devel mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/elfutils-devel
