artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459ec21
)
Have file recognize PowerPC elf objects. Works for MSB objects currently.
author
rahnds
<rahnds@openbsd.org>
Wed, 29 Jan 1997 22:31:46 +0000
(22:31 +0000)
committer
rahnds
<rahnds@openbsd.org>
Wed, 29 Jan 1997 22:31:46 +0000
(22:31 +0000)
Should work for LSB objects?
usr.bin/file/magdir/elf
patch
|
blob
|
history
diff --git
a/usr.bin/file/magdir/elf
b/usr.bin/file/magdir/elf
index
57f0767
..
cfab44c
100644
(file)
--- 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