xref: /freebsd/contrib/file/magic/Magdir/bsdi (revision 02e9120893770924227138ba49df1edb3896112a)
1
2#------------------------------------------------------------------------------
3# $File: bsdi,v 1.7 2014/03/29 15:40:34 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