[Top] [All Lists]

Re: Update readelf to know about the new ELF constants

To: Ulrich Drepper <>
Subject: Re: Update readelf to know about the new ELF constants
From: "Maciej W. Rozycki" <>
Date: Wed, 29 Nov 2000 13:10:58 +0100 (MET)
Cc: Ralf Baechle <>, "H . J . Lu" <>, Nick Clifton <>,,,
In-reply-to: <>
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:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>