Subject: Re: recent import of file(1)
To: Simon Burge <simonb@NetBSD.ORG>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 11/02/1999 19:32:19
On Nov 3, 11:18am, simonb@NetBSD.ORG (Simon Burge) wrote:
-- Subject: Re: recent import of file(1)
| 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?
I think that our magic number is wrong and file is right according to
the elf specification page....