This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Robustify objdump -dr and -r
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 6 Jun 2005 23:32:54 +0930
- Subject: Re: [PATCH] Robustify objdump -dr and -r
- References: <20050606122759.GQ7663@sunsite.mff.cuni.cz>
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