summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/elf
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-01-29 22:31:47 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-01-29 22:31:47 +0000
commita84d37f764bf6769c06450433565ed4bb1c58d1e (patch)
treecff14d40bc087ffa8ae40f413a088471db022254 /usr.bin/file/magdir/elf
parenteaab01596434d7f6b53a768ae06297a14ed97a35 (diff)
Have file recognize PowerPC elf objects. Works for MSB objects currently.
Should work for LSB objects?
Diffstat (limited to 'usr.bin/file/magdir/elf')
-rw-r--r--usr.bin/file/magdir/elf2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 57f0767cd3c..cfab44cf51f 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -31,6 +31,7 @@
>>18 leshort 7 Intel 80860,
>>18 leshort 8 MIPS R3000,
>>18 leshort 9 Amdahl,
+>>18 leshort 20 PowerPC,
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
>>36 lelong 1 MathCoPro/FPU/MAU Required
@@ -50,6 +51,7 @@
>>18 beshort 6 Intel 80486 - invalid byte order,
>>18 beshort 7 Intel 80860,
>>18 beshort 8 MIPS R3000,
+>>18 beshort 20 PowerPC,
>>18 leshort 9 Amdahl,
>>20 belong 0 invalid version
>>20 belong 1 version 1