Objdump crash on prelinked ARM binaries
Daniel Jacobowitz
drow@mvista.com
Thu Jun 5 14:56:00 GMT 2003
On Thu, Jun 05, 2003 at 03:41:36PM +0100, Nick Clifton wrote:
> 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 ?
The prelinking process converts REL sections to RELA.
> At the very least objdump should check ebd->elf_info_to_howto and
> issue an error message, rather than seg faulting.
Hmm, yes. Well, I'm going to try defining both and see if it does
anything to testsuite results...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Binutils
mailing list