[PATCH] Don't assert on mod->e_type in __libdwfl_relocate_value.

Mark Wielaard mjw at redhat.com
Mon Jul 8 10:29:43 UTC 2013


On Tue, 2013-07-02 at 13:35 +0200, Mark Wielaard wrote:
> When setting up the module and searching for an ELF file with a correct
> build_id __libdwfl_relocate_value will be called for an ET_REL file in
> __libdwfl_find_elf_build_id but mod->e_type is not yet setup in that case
> because the Dwfl_Module isn't yet complete (the build-id could mismatch).
> This can happen when using the dwfl_linux_kernel_find_elf callback when
> it searches for the ELF file matching a kernel module.

I pushed this to master now.

Mark



More information about the elfutils-devel mailing list