This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Objdump crash on prelinked ARM binaries
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 05 Jun 2003 15:41:36 +0100
- Subject: Re: Objdump crash on prelinked ARM binaries
- References: <20030605134709.GA30351@nevyn.them.org>
Hi Daniel,
> arm-linux targets only provide elf_info_to_howto_rel. Then, when
> objdump finds Rela relocations in a prelinked object file, it
> dereferences a NULL pointer trying to call ebd->elf_info_to_howto.
> Will it break anything to always provide both elf_info_to_howto
> functions?
Probably. Why are Rela relocations being encountered anyway ?
At the very least objdump should check ebd->elf_info_to_howto and
issue an error message, rather than seg faulting.
Cheers
Nick