summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-10-12 03:32:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-10-12 03:32:33 +0000
commit2ccd9a21485a2e6fa9f9cde4b34f039b38ca8ef9 (patch)
treef9158812ddd933836a1a56563ba6a6db973cd876
parent8866ecfffb0ea22c5fa253e339f18180d00d3869 (diff)
recognize 'sh' binaries.
-rw-r--r--usr.bin/file/magdir/elf4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 8c03e2899e0..6783a3e4921 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -1,4 +1,4 @@
-# $OpenBSD: elf,v 1.14 2004/10/27 18:12:44 pefo Exp $
+# $OpenBSD: elf,v 1.15 2006/10/12 03:32:32 drahn Exp $
#------------------------------------------------------------------------------
# elf: file(1) magic for ELF executables
@@ -66,6 +66,7 @@
>>18 leshort 18 SPARC32PLUS,
>>18 leshort 20 PowerPC,
>>18 leshort 40 ARM,
+>>18 leshort 42 SH
>>18 leshort 43 SPARC64 - invalid byte order,
>>18 leshort 62 AMD64,
>>18 leshort 75 VAX,
@@ -123,6 +124,7 @@
>>18 beshort 18 SPARC32PLUS,
>>18 beshort 20 PowerPC,
>>18 beshort 40 ARM,
+>>18 beshort 42 SH - invalid byte order,
>>18 beshort 43 SPARC64,
>>18 beshort 62 AMD64 - invalid byte order,
>>18 beshort 75 VAX - invalid byte order,