summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/elf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:30:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:30:30 +0000
commit402481c1a57fdfd137982aeb635fc812cde318f0 (patch)
treefbae54bd8f583d7e971a9921381d6fc3ffed35d9 /usr.bin/file/magdir/elf
parentc676a5d9145698a76a035ed3480786150513b6f2 (diff)
update from netbsd
Diffstat (limited to 'usr.bin/file/magdir/elf')
-rw-r--r--usr.bin/file/magdir/elf7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 6f6428315f3..f99712feba6 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -5,6 +5,9 @@
# We have to check the byte order flag to see what byte order all the
# other stuff in the header is in.
#
+# Byte order is probably big-endian for MIPS RS3000 and Amdahl.
+# MIPS RS3000 may also be for MIPS RS2000.
+#
# updated by Daniel Quinlan (quinlan@yggdrasil.com)
0 string \177ELF ELF
>4 byte 0 invalid class
@@ -19,7 +22,7 @@
>>16 leshort 4 core file,
>>16 leshort &0xff00 processor-specific,
>>18 leshort 0 no machine,
->>18 leshort 1 AT&T WE32100,
+>>18 leshort 1 AT&T WE32100 - invalid byte order,
>>18 leshort 2 SPARC - invalid byte order,
>>18 leshort 3 Intel 80386,
>>18 leshort 4 Motorola 68000 - invalid byte order,
@@ -27,6 +30,7 @@
>>18 leshort 6 Intel 80486,
>>18 leshort 7 Intel 80860,
>>18 leshort 8 MIPS RS3000,
+>>18 leshort 9 Amdahl,
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
>>36 lelong 1 MathCoPro/FPU/MAU Required
@@ -46,6 +50,7 @@
>>18 beshort 6 Intel 80486 - invalid byte order,
>>18 beshort 7 Intel 80860,
>>18 beshort 8 MIPS RS3000,
+>>18 leshort 9 Amdahl,
>>20 belong 0 invalid version
>>20 belong 1 version 1
>>36 belong 1 MathCoPro/FPU/MAU Required