This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Objdump crash on prelinked ARM binaries


On Thu, Jun 05, 2003 at 10:55:53AM -0400, Daniel Jacobowitz wrote:
> 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.

Not always, only if relocations which make use of the addend are used.

	Jakub


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