summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-02-03 16:31:24 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-02-03 16:31:24 +0000
commit934740f57ecef9b4b44eefbb42b120e94225eaa6 (patch)
treeedbebf415da591a32b08d7be8713ec402e1a892b
parentbacb592400bbaab7735b60adbc35d52289e0d35c (diff)
Recognize openbsd arm executables and corefiles. ok deraadt@
-rw-r--r--usr.bin/file/magdir/OpenBSD8
-rw-r--r--usr.bin/file/magdir/elf1
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/file/magdir/OpenBSD b/usr.bin/file/magdir/OpenBSD
index 69fcbb89e66..61ff3907b64 100644
--- a/usr.bin/file/magdir/OpenBSD
+++ b/usr.bin/file/magdir/OpenBSD
@@ -242,23 +242,23 @@
0 belong&0377777777 043400507 OpenBSD/mips core
>12 string >\0 from '%s'
-0 belong&0377777777 043600413 OpenBSD/arm32 demand paged
+0 belong&0377777777 043600413 OpenBSD/arm demand paged
>0 byte &0x80
>>20 lelong <8192 shared library
>>20 lelong =8192 dynamically linked executable
>>20 lelong >8192 dynamically linked executable
>0 byte ^0x80 executable
>16 lelong >0 not stripped
-0 belong&0377777777 043600410 OpenBSD/arm32 pure
+0 belong&0377777777 043600410 OpenBSD/arm pure
>0 byte &0x80 dynamically linked executable
>0 byte ^0x80 executable
>16 lelong >0 not stripped
-0 belong&0377777777 043600407 OpenBSD/arm32
+0 belong&0377777777 043600407 OpenBSD/arm
>0 byte &0x80 dynamically linked executable
>0 byte ^0x80
>>0 byte &0x40 position independent
>>20 lelong !0 executable
>>20 lelong =0 object file
>16 lelong >0 not stripped
-0 belong&0377777777 043600507 OpenBSD/arm32 core
+0 belong&0377777777 043600507 OpenBSD/arm core
>12 string >\0 from '%s'
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 0afb5d4baa4..69561a64b6d 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -40,6 +40,7 @@
>>18 leshort 17 VPP500,
>>18 leshort 18 SPARC32PLUS,
>>18 leshort 20 PowerPC,
+>>18 leshort 40 ARM,
>>18 leshort 43 Sparc64 - invalid byte order,
>>18 leshort 75 VAX,
>>18 leshort 0x9026 Alpha,