Subject: Re: recent import of file(1)
To: Christos Zoulas <christos@zoulas.com>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 11/03/1999 11:18:13
Christos Zoulas wrote:

> [ file probs ]

If you're in "file hacking mode", one thing that's bugged me but I never
fixed is:

	mona:~ 1> file /netbsd
	/netbsd: ELF 32-bit LSB executable, MIPS R3000_BE - invalid byte order, version 1 MathCoPro/FPU/MAU Required, statically linked, not stripped

What confused me was this from magdir/elf:

>>18    leshort         8               MIPS R3000_BE - invalid byte order,
>>18    leshort         9               Amdahl - invalid byte order,
>>18    leshort         10              MIPS R3000_LE,

and NetBSD/pmax ELF files have 8 at offset 18.  I dunno if changing
"MIPS R3000_BE - invalid byte order," to "MIPS R3000_LE," would break
something else (SGIish?).

Would you like a PR for this?

Simon.