This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Update readelf to know about the new ELF constants
- To: Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: Update readelf to know about the new ELF constants
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Wed, 29 Nov 2000 13:10:58 +0100 (MET)
- cc: Ralf Baechle <ralf at uni-koblenz dot de>, "H . J . Lu" <hjl at valinux dot com>, Nick Clifton <nickc at redhat dot com>, binutils at sources dot redhat dot com, linux-mips at oss dot sgi dot com, linux-mips at fnet dot fr
- Organization: Technical University of Gdansk
On 28 Nov 2000, Ulrich Drepper wrote:
> > > EM_MIPS_RS3_LE 10 MIPS RS3000 Little-endian
> >
> > I don't know where you got this constant's name from, it's name is
> > EM_MIPS_RS4_BE (MIPS R4000 big endian) in all literature and header files
> > I've seen. RS3000 series from MIPS was a workstation series of the former
> > Mips Computer Systems, Inc. not a processor.
>
> This is the name in the current ABI specs. If it's changed then on
> request of somebody who registered it.
Well, I would only add the name should probably be EM_MIPS_R3_LE (and
ditto the comment). We might actually use it for mipsel-linux especially
as the ABI explicitly states EM_MIPS is for big endian machines but I'm
not sure it's worth bothering as the endianness is specified
independently. I believe all software involved should handle it well -- I
recall Linux, glibc, binutils, modutils all handle both tags fine. It's
just BFD that does not generate EM_MIPS_R3_LE.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +