This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] readelf -c dump archive index like nm -s
- From: Nick Clifton <nickc at redhat dot com>
- To: Shen Feng <shen at cn dot fujitsu dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 17 Sep 2007 17:12:06 +0100
- Subject: Re: [Patch] readelf -c dump archive index like nm -s
- References: <46E7DF7E.1090106@cn.fujitsu.com>
Hi Shen,
The new patch is attached.
Thank you very much for submitting this revised patch. I have applied it,
together with a few tweaks of my own. Basically all I did was to add some more
error checking, so the running "readelf -c" on a corrupt archive should not
cause readelf to crash. I also changed some of the uses of sizeof in order to
remove the assumption that "sizeof (unsigned int) == 4". On some targets this
is not true.
Cheers
Nick