linux-mips
[Top] [All Lists]

Re: Diff between Linus' and linux-mips git: elf.h

To: "Martin Michlmayr" <tbm@cyrius.com>, "Ralf Baechle" <ralf@linux-mips.org>
Subject: Re: Diff between Linus' and linux-mips git: elf.h
From: "Kevin D. Kissell" <kevink@mips.com>
Date: Fri, 7 Apr 2006 19:47:40 +0200
Cc: <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060219234318.GA16311@deprecation.cyrius.com> <20060220000141.GX10266@deprecation.cyrius.com> <20060220001126.GA17967@deprecation.cyrius.com> <20060220003128.GD17967@deprecation.cyrius.com> <20060220113420.GB5594@linux-mips.org> <20060407171910.GU6869@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
Arguably, whatever's used by binutils should be the tie-breaker.
Googling around, I see that the EM_MIPS_RS3_LE value was
added in the October 4, 1999 draft of the ELF spec, but inexplicably
the alias with EM_MIPS_RS4_BE was left in place - perhaps they
were supposed to be disambiguated by some 32-vs-64-bit flag
somewhere.  A random sampling of ELF documents on the web
shows the vast majority calling out RS3_LE and not RS4_BE.

            Regards,

            Kevin K.

----- Original Message ----- 
From: "Martin Michlmayr" <tbm@cyrius.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Sent: Friday, April 07, 2006 7:19 PM
Subject: Re: Diff between Linus' and linux-mips git: elf.h


> * Ralf Baechle <ralf@linux-mips.org> [2006-02-20 11:34]:
> > > Can we agree?
> > > -#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */
> > > +#define EM_MIPS_RS3_LE 10 /* MIPS R3000 little-endian */
> > Not really :-)
> > 
> > I've dug deep into history - but it seems nobody remembers the reason for
> > this change anymore.  I suspect actually both constant names might
> > historically have been in use.  For the purposes of Linux it's probably
> > best to dump the whole number - it never had any relevance.
> 
> Maybe you can remove it, or at least bring it in sync.
> -- 
> Martin Michlmayr
> http://www.cyrius.com/
> 
> 

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