summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/OpenBSD
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magdir/OpenBSD')
-rw-r--r--usr.bin/file/magdir/OpenBSD30
1 files changed, 13 insertions, 17 deletions
diff --git a/usr.bin/file/magdir/OpenBSD b/usr.bin/file/magdir/OpenBSD
index e7949cff490..34b51ea8c89 100644
--- a/usr.bin/file/magdir/OpenBSD
+++ b/usr.bin/file/magdir/OpenBSD
@@ -4,19 +4,6 @@
#
# All new-style magic numbers are in network byte order.
#
-0 lelong 000000413 386BSD demand paged executable
->16 lelong >0 not stripped
-0 lelong 000000314 BSDI demand paged executable
->16 lelong >0 not stripped
->32 byte 0x6a (uses shared libs)
-
-0 lelong&077777777 041400314 FreeBSD/i386 demand paged
->3 byte &0x80
->>20 lelong <4096 shared library
->>20 lelong =4096 dynamically linked executable
->>20 lelong >4096 dynamically linked executable
->3 byte ^0x80 executable
->16 lelong >0 not stripped
0 lelong 000000407 OpenBSD little-endian object file
>16 lelong >0 not stripped
@@ -170,6 +157,15 @@
0 belong&0377777777 043000507 OpenBSD/vax core
>12 string >\0 from '%s'
+# OpenBSD/alpha does not support (and has never supported) a.out objects,
+# so no rules are provided for them. OpenBSD/alpha ELF objects are
+# dealt with in "elf".
+0 leshort 0x00070185 ECOFF OpenBSD/alpha binary
+>10 leshort 0x0001 not stripped
+>10 leshort 0x0000 stripped
+0 belong&0377777777 043200507 OpenBSD/alpha core
+>12 string >\0 from '%s'
+
0 belong&0377777777 043400413 OpenBSD/mips demand paged
>0 byte &0x80
>>20 belong <8192 shared library
@@ -191,23 +187,23 @@
0 belong&0377777777 043400507 OpenBSD/mips core
>12 string >\0 from '%s'
-0 belong&0377777777 043600413 NetBSD/arm32 demand paged
+0 belong&0377777777 043600413 OpenBSD/arm32 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 NetBSD/arm32 pure
+0 belong&0377777777 043600410 OpenBSD/arm32 pure
>0 byte &0x80 dynamically linked executable
>0 byte ^0x80 executable
>16 lelong >0 not stripped
-0 belong&0377777777 043600407 NetBSD/arm32
+0 belong&0377777777 043600407 OpenBSD/arm32
>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 NetBSD/arm32 core
+0 belong&0377777777 043600507 OpenBSD/arm32 core
>12 string >\0 from '%s'