linux-mips
[Top] [All Lists]

Re: Update readelf to know about the new ELF constants

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: Update readelf to know about the new ELF constants
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Sun, 3 Dec 2000 13:21:33 +0100
Cc: Ulrich Drepper <drepper@cygnus.com>, "H . J . Lu" <hjl@valinux.com>, Nick Clifton <nickc@redhat.com>, binutils@sources.redhat.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <Pine.GSO.3.96.1001129130308.13815B-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, Nov 29, 2000 at 01:10:58PM +0100
References: <m3wvdnsu3z.fsf@otr.mynet.cygnus.com> <Pine.GSO.3.96.1001129130308.13815B-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
On Wed, Nov 29, 2000 at 01:10:58PM +0100, Maciej W. Rozycki wrote:

>  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.

The entire ABI only covers big endianess, so you can't directly make
conclusions for little endian boxes based.  So whatever a little endian
system ``ABI compliant'' system does it's only based on an effort to stick
as closely as possible to the ABI.

> 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. 

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Update readelf to know about the new ELF constants, Ralf Baechle <=