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] 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


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