This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Readelf vs objdump
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Stan Shebs <shebs at apple dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 18 Nov 2003 21:38:41 -0500 (EST)
- Subject: Re: Readelf vs objdump
On Tue, 18 Nov 2003, Stan Shebs wrote:
> While it seems like an obvious thing to hack up the dwarf dumping code so
> that it can be used in objdump for non-ELF, it makes me wonder why there
> is a
> separate readelf program in the first place. Is this just historical, or is
> there a fundamental reason why binutils has two file dumpers?
While Daniel answered the question IMHO perfectly, I can't help
but wonder where this should be documented; it comes up now and
then. (I assume it isn't documented, or Stan would know.)
Stan, where would/did you look for the answer to this question
(documentation-wise)?
brgds, H-P