xref: /minix/external/bsd/file/dist/magic/magdir/bsdi (revision 84d9c625)
1
2#------------------------------------------------------------------------------
3# $File: bsdi,v 1.6 2013/01/09 22:37:24 christos Exp $
4# bsdi:  file(1) magic for BSD/OS (from BSDI) objects
5# Some object/executable formats use the same magic numbers as are used
6# in other OSes; those are handled by entries in aout.
7#
8
90	lelong		0314		386 compact demand paged pure executable
10>16	lelong		>0		not stripped
11>32	byte		0x6a		(uses shared libs)
12
13# same as in SunOS 4.x, except for static shared libraries
140	belong&077777777	0600413		sparc demand paged
15>0	byte		&0x80
16>>20	belong		<4096		shared library
17>>20	belong		=4096		dynamically linked executable
18>>20	belong		>4096		dynamically linked executable
19>0	byte		^0x80		executable
20>16	belong		>0		not stripped
21>36	belong		0xb4100001	(uses shared libs)
22
230	belong&077777777	0600410		sparc pure
24>0	byte		&0x80		dynamically linked executable
25>0	byte		^0x80		executable
26>16	belong		>0		not stripped
27>36	belong		0xb4100001	(uses shared libs)
28
290	belong&077777777	0600407		sparc
30>0	byte		&0x80		dynamically linked executable
31>0	byte		^0x80		executable
32>16	belong		>0		not stripped
33>36	belong		0xb4100001	(uses shared libs)
34