All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kevin D. Kissell" <kevink@mips.com>
To: "Martin Michlmayr" <tbm@cyrius.com>,
	"Ralf Baechle" <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Subject: Re: Diff between Linus' and linux-mips git: elf.h
Date: Fri, 7 Apr 2006 19:47:40 +0200	[thread overview]
Message-ID: <090d01c65a6b$623f6480$10eca8c0@grendel> (raw)
In-Reply-To: 20060407171910.GU6869@deprecation.cyrius.com

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

WARNING: multiple messages have this Message-ID (diff)
From: "Kevin D. Kissell" <kevink@mips.com>
To: Martin Michlmayr <tbm@cyrius.com>, Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: Diff between Linus' and linux-mips git: elf.h
Date: Fri, 7 Apr 2006 19:47:40 +0200	[thread overview]
Message-ID: <090d01c65a6b$623f6480$10eca8c0@grendel> (raw)
Message-ID: <20060407174740.BsyR1SzmlKH0R3tA7PRo8S4orCfpNbbWc-olDPLS6A8@z> (raw)
In-Reply-To: 20060407171910.GU6869@deprecation.cyrius.com

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

  reply	other threads:[~2006-04-07 17:33 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 23:43 Diff between Linus' and linux-mips git: drivers! Martin Michlmayr
2006-02-19 23:47 ` Diff between Linus' and linux-mips git: trivial changes Martin Michlmayr
2006-02-20 13:33   ` Maciej W. Rozycki
2006-02-20 14:11     ` Ralf Baechle
2006-02-20 14:16     ` Martin Michlmayr
2006-02-20 14:16     ` Martin Michlmayr
2006-02-20 14:18     ` Martin Michlmayr
2006-02-20 14:28     ` Martin Michlmayr
2006-02-20 16:58       ` Maciej W. Rozycki
2006-02-20 18:09         ` Martin Michlmayr
2006-02-27 22:34   ` Martin Michlmayr
2006-02-28 21:10     ` Jordan Crouse
2006-02-20  0:01 ` Diff between Linus' and linux-mips git: small changes Martin Michlmayr
2006-02-20  0:11   ` Diff between Linus' and linux-mips git: VR4181 Martin Michlmayr
2006-02-20  0:31     ` Diff between Linus' and linux-mips git: elf.h Martin Michlmayr
2006-02-20 11:34       ` Ralf Baechle
2006-04-07 17:19         ` Martin Michlmayr
2006-04-07 17:47           ` Kevin D. Kissell [this message]
2006-04-07 17:47             ` Kevin D. Kissell
2006-04-07 22:21             ` Ralf Baechle
2006-04-10 12:27               ` Thiemo Seufer
2006-04-10 15:43                 ` Ralf Baechle
2006-02-20  1:07     ` Diff between Linus' and linux-mips git: VR4181 Yoichi Yuasa
2006-02-20  1:21       ` Martin Michlmayr
2006-02-20  1:32         ` Yoichi Yuasa
2006-02-20  1:41           ` Martin Michlmayr
2006-02-20  1:50             ` Yoichi Yuasa
2006-02-20  0:17   ` Diff between Linus' and linux-mips git: declance Martin Michlmayr
2006-02-20 14:22     ` Martin Michlmayr
2006-02-20 17:02       ` Maciej W. Rozycki
2006-02-20  0:19   ` Diff between Linus' and linux-mips git: tulip Martin Michlmayr
2006-02-20 23:03     ` Peter Horton
2006-02-24  1:13       ` Martin Michlmayr
2006-02-24  1:49         ` Martin Michlmayr
2006-02-27 18:12           ` Ralf Baechle
2006-03-01 21:53         ` Peter Horton
2006-02-27 19:07   ` Diff between Linus' and linux-mips git: small changes Martin Michlmayr
2006-02-28 20:22     ` Dmitry Torokhov
2006-02-20  0:34 ` Diff between Linus' and linux-mips git: drivers! Martin Michlmayr
2006-02-27 19:10   ` Martin Michlmayr
2006-02-28  4:47     ` Yoichi Yuasa
2006-02-28  9:51       ` Martin Michlmayr
2006-02-20 15:27 ` Jordan Crouse
2006-02-20 15:27   ` Martin Michlmayr
2006-02-20 15:52   ` Christoph Hellwig
2006-02-20 16:46   ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='090d01c65a6b$623f6480$10eca8c0@grendel' \
    --to=kevink@mips.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=tbm@cyrius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.