This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Remove misleading readelf MIPS output
- From: cgd at broadcom dot com
- To: ica2_ts at csv dot ica dot uni-stuttgart dot de
- Cc: echristo at redhat dot com,binutils at sources dot redhat dot com
- Date: 03 Dec 2001 17:46:39 -0800
- Subject: Re: [PATCH] Remove misleading readelf MIPS output
- References: <20011203102837.L487@rembrandt.csv.ica.uni-stuttgart.de><mailpost.1007371735.7355@news>
ica2_ts@csv.ica.uni-stuttgart.de ("Thiemo Seufer") writes:
> this prevents readelf to output "UNKNOWN" for every object file
> which isn't compiled for one of the CPU's noted in the ELF header.
personally, my preference is as done in
http://sources.redhat.com/ml/binutils/2001-11/msg00113.html (print
"UNKNOWN machine" -- i'd be OK with different capitlization -- and
"unknown ISA", rrather than just not printing anything).
Guess the question is, do we expect these to have meaningful values as
defined in the binutils MIPS elf headers? 8-)
If so, IMO, the code should complain (or at least mention it) if they
don't.
chris