[Top] [All Lists]

Re: machine types for MIPS in ELF file

To: Jun Sun <>
Subject: Re: machine types for MIPS in ELF file
From: "Maciej W. Rozycki" <>
Date: Tue, 8 May 2001 21:34:22 +0200 (MET DST)
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 8 May 2001, Jun Sun wrote:

> The e_machine field in ELF file standard defines two values for MIPS:
> 8     - MIPS RS3000 BE
> 10    - MIPS RS4000 BE
> Naturally the question is: what about LE binaries?  And what about other
> CPUs?  Is there any effort to clean up this thing?

 The latter has been changed to "MIPS RS3000 LE" in the latest ELF spec,
AFAIK.  The ISA level is further specified in the e_flags field.  No idea
why they want to keep redundant endianness information in e_machine --
there is an endianness specification at e_ident[5]. 

 Also no idea why they named the CPU RS3000 and not R3000. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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