This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] Don't assert on mod->e_type in __libdwfl_relocate_value.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 08 Jul 2013 12:29:43 +0200
- Subject: Re: [PATCH] Don't assert on mod->e_type in __libdwfl_relocate_value.
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