Subject: Re: booting cdrom
To: None <port-sgimips@netbsd.org>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-sgimips
Date: 11/16/2001 18:24:01
On Fri, 16 Nov 2001, Ian Cooper wrote:

> Aren't SGI machines big-endian (MIPSEB)?  So a little-endian
> executable presumably wouldn't work.  Right?
> 
> //   One interesting thing I noticed:  the magic number in the error message
> // indicated 0x0162 - which file notes as MIPSLE COFF.  [The original error
> // message indicated it was ELF.]  The copy of sash I have uses 0x0163 -
> // which file notes as MIPSEB MIPS-II COFF.

  Here's the actual output from file for both netbsd.ecoff and sash.  I'm
somewhat confused as to what MIPSEL-BE really means.

netbsd.ecoff: MIPSEL-BE ECOFF executable (impure) not stripped - version 10.2

sash: MIPSEB MIPS-II ECOFF executable (impure) not stripped - version 6.21

  And here's another interesting thing - using elf2ecoff gives me:
netbsd.xxx: MIPSEL-BE ECOFF executable (impure) not stripped - version 10.2

  While objcopy --target=ecoff-bigmips givse me:
netbsd.xxx: MIPSEB ECOFF executable (paged) not stripped - version 0.0


--
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA