linux-mips
[Top] [All Lists]

Re: Decstation 5000/150 2.3.21 Boot successs

To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Subject: Re: Decstation 5000/150 2.3.21 Boot successs
From: "William J. Earl" <wje@cthulhu.engr.sgi.com>
Date: Fri, 7 Jan 2000 17:30:04 -0800 (PST)
Cc: linux@cthulhu.engr.sgi.com, Florian Lohoff <flo@rfc822.org>, "Kevin D. Kissell" <kevink@mips.com>
In-reply-to: <XFMail.000107200905.Harald.Koerfgen@home.ivm.de>
References: <14452.58782.750095.352886@liveoak.engr.sgi.com> <XFMail.000107200905.Harald.Koerfgen@home.ivm.de>
Sender: owner-linuxmips@oss.sgi.com
Harald Koerfgen writes:
 > 
 > On 06-Jan-00 William J. Earl wrote:
 > >      Note that the SVR4 MIPS ABI assumes FR=0 (R3000-compatible), as
 > > do SGI IRIX "-32" ("O32") binaries (and, I believe, default gcc
 > > binaries).  SGI IRIX "-n32" and "-n64" binaries assumes FR=1
 > > (R4000-compatible), and also have a somewhat different register calling
 > > convention (which affects where arguments to system calls reside).
 > 
 > Wouldn't it make sense then if we made FR=0 the default for Linux/MIPS?

      FR should be tied to the compilation model, which is reflected
in the magic number of the executable.  For "-32" ("O32"), FR must be 0.
That is, there is no need for default; exec should set FR appropriately.

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