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: [PATCH] Robustify objdump -dr and -r


On Mon, Jun 06, 2005 at 02:27:59PM +0200, Jakub Jelinek wrote:
> Hi!
> 
> Both objdump -r and objdump -dr segfault when seeing unknown relocations
> (noticed while mistakenly running system objdump on a -msecure-plt created
> object on ppc32).
> Ok to commit?
> 
> 2005-06-06  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
> 	If q->howto->name == NULL, print q->howto->type as number instead.
> 	(dump_reloc_set): Likewise.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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