xref: /freebsd/contrib/file/magic/Magdir/mips (revision 246e7a2b6494cd991b08ac669ed761ecea0cc98c)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#------------------------------------------------------------------------------
3*b6cee71dSXin LI# $File: mips,v 1.10 2014/04/30 21:41:02 christos Exp $
4*b6cee71dSXin LI# mips:  file(1) magic for MIPS ECOFF and Ucode, as used in SGI IRIX
5*b6cee71dSXin LI# and DEC Ultrix
6*b6cee71dSXin LI#
7*b6cee71dSXin LI0	beshort	0x0160		MIPSEB ECOFF executable
8*b6cee71dSXin LI>20	beshort	0407		(impure)
9*b6cee71dSXin LI>20	beshort	0410		(swapped)
10*b6cee71dSXin LI>20	beshort	0413		(paged)
11*b6cee71dSXin LI>8	belong	>0		not stripped
12*b6cee71dSXin LI>8	belong	0		stripped
13*b6cee71dSXin LI>22	byte	x		- version %d
14*b6cee71dSXin LI>23	byte	x		\b.%d
15*b6cee71dSXin LI#
16*b6cee71dSXin LI0	beshort	0x0162		MIPSEL-BE ECOFF executable
17*b6cee71dSXin LI>20	beshort	0407		(impure)
18*b6cee71dSXin LI>20	beshort	0410		(swapped)
19*b6cee71dSXin LI>20	beshort	0413		(paged)
20*b6cee71dSXin LI>8	belong	>0		not stripped
21*b6cee71dSXin LI>8	belong	0		stripped
22*b6cee71dSXin LI>23	byte	x		- version %d
23*b6cee71dSXin LI>22	byte	x		\b.%d
24*b6cee71dSXin LI#
25*b6cee71dSXin LI0	beshort	0x6001		MIPSEB-LE ECOFF executable
26*b6cee71dSXin LI>20	beshort	03401		(impure)
27*b6cee71dSXin LI>20	beshort	04001		(swapped)
28*b6cee71dSXin LI>20	beshort	05401		(paged)
29*b6cee71dSXin LI>8	belong	>0		not stripped
30*b6cee71dSXin LI>8	belong	0		stripped
31*b6cee71dSXin LI>23	byte	x		- version %d
32*b6cee71dSXin LI>22	byte	x		\b.%d
33*b6cee71dSXin LI#
34*b6cee71dSXin LI0	beshort	0x6201		MIPSEL ECOFF executable
35*b6cee71dSXin LI>20	beshort	03401		(impure)
36*b6cee71dSXin LI>20	beshort	04001		(swapped)
37*b6cee71dSXin LI>20	beshort	05401		(paged)
38*b6cee71dSXin LI>8	belong	>0		not stripped
39*b6cee71dSXin LI>8	belong	0		stripped
40*b6cee71dSXin LI>23	byte	x		- version %d
41*b6cee71dSXin LI>22	byte	x		\b.%d
42*b6cee71dSXin LI#
43*b6cee71dSXin LI# MIPS 2 additions
44*b6cee71dSXin LI#
45*b6cee71dSXin LI0	beshort	0x0163		MIPSEB MIPS-II ECOFF executable
46*b6cee71dSXin LI>20	beshort	0407		(impure)
47*b6cee71dSXin LI>20	beshort	0410		(swapped)
48*b6cee71dSXin LI>20	beshort	0413		(paged)
49*b6cee71dSXin LI>8	belong	>0		not stripped
50*b6cee71dSXin LI>8	belong	0		stripped
51*b6cee71dSXin LI>22	byte	x		- version %d
52*b6cee71dSXin LI>23	byte	x		\b.%d
53*b6cee71dSXin LI#
54*b6cee71dSXin LI0	beshort	0x0166		MIPSEL-BE MIPS-II ECOFF executable
55*b6cee71dSXin LI>20	beshort	0407		(impure)
56*b6cee71dSXin LI>20	beshort	0410		(swapped)
57*b6cee71dSXin LI>20	beshort	0413		(paged)
58*b6cee71dSXin LI>8	belong	>0		not stripped
59*b6cee71dSXin LI>8	belong	0		stripped
60*b6cee71dSXin LI>22	byte	x		- version %d
61*b6cee71dSXin LI>23	byte	x		\b.%d
62*b6cee71dSXin LI#
63*b6cee71dSXin LI0	beshort	0x6301		MIPSEB-LE MIPS-II ECOFF executable
64*b6cee71dSXin LI>20	beshort	03401		(impure)
65*b6cee71dSXin LI>20	beshort	04001		(swapped)
66*b6cee71dSXin LI>20	beshort	05401		(paged)
67*b6cee71dSXin LI>8	belong	>0		not stripped
68*b6cee71dSXin LI>8	belong	0		stripped
69*b6cee71dSXin LI>23	byte	x		- version %d
70*b6cee71dSXin LI>22	byte	x		\b.%d
71*b6cee71dSXin LI#
72*b6cee71dSXin LI0	beshort	0x6601		MIPSEL MIPS-II ECOFF executable
73*b6cee71dSXin LI>20	beshort	03401		(impure)
74*b6cee71dSXin LI>20	beshort	04001		(swapped)
75*b6cee71dSXin LI>20	beshort	05401		(paged)
76*b6cee71dSXin LI>8	belong	>0		not stripped
77*b6cee71dSXin LI>8	belong	0		stripped
78*b6cee71dSXin LI>23	byte	x		- version %d
79*b6cee71dSXin LI>22	byte	x		\b.%d
80*b6cee71dSXin LI#
81*b6cee71dSXin LI# MIPS 3 additions
82*b6cee71dSXin LI#
83*b6cee71dSXin LI0	beshort	0x0140		MIPSEB MIPS-III ECOFF executable
84*b6cee71dSXin LI>20	beshort	0407		(impure)
85*b6cee71dSXin LI>20	beshort	0410		(swapped)
86*b6cee71dSXin LI>20	beshort	0413		(paged)
87*b6cee71dSXin LI>8	belong	>0		not stripped
88*b6cee71dSXin LI>8	belong	0		stripped
89*b6cee71dSXin LI>22	byte	x		- version %d
90*b6cee71dSXin LI>23	byte	x		\b.%d
91*b6cee71dSXin LI#
92*b6cee71dSXin LI0	beshort	0x0142		MIPSEL-BE MIPS-III ECOFF executable
93*b6cee71dSXin LI>20	beshort	0407		(impure)
94*b6cee71dSXin LI>20	beshort	0410		(swapped)
95*b6cee71dSXin LI>20	beshort	0413		(paged)
96*b6cee71dSXin LI>8	belong	>0		not stripped
97*b6cee71dSXin LI>8	belong	0		stripped
98*b6cee71dSXin LI>22	byte	x		- version %d
99*b6cee71dSXin LI>23	byte	x		\b.%d
100*b6cee71dSXin LI#
101*b6cee71dSXin LI0	beshort	0x4001		MIPSEB-LE MIPS-III ECOFF executable
102*b6cee71dSXin LI>20	beshort	03401		(impure)
103*b6cee71dSXin LI>20	beshort	04001		(swapped)
104*b6cee71dSXin LI>20	beshort	05401		(paged)
105*b6cee71dSXin LI>8	belong	>0		not stripped
106*b6cee71dSXin LI>8	belong	0		stripped
107*b6cee71dSXin LI>23	byte	x		- version %d
108*b6cee71dSXin LI>22	byte	x		\b.%d
109*b6cee71dSXin LI#
110*b6cee71dSXin LI0	beshort	0x4201		MIPSEL MIPS-III ECOFF executable
111*b6cee71dSXin LI>20	beshort	03401		(impure)
112*b6cee71dSXin LI>20	beshort	04001		(swapped)
113*b6cee71dSXin LI>20	beshort	05401		(paged)
114*b6cee71dSXin LI>8	belong	>0		not stripped
115*b6cee71dSXin LI>8	belong	0		stripped
116*b6cee71dSXin LI>23	byte	x		- version %d
117*b6cee71dSXin LI>22	byte	x		\b.%d
118*b6cee71dSXin LI#
119*b6cee71dSXin LI0	beshort	0x180		MIPSEB Ucode
120*b6cee71dSXin LI0	beshort	0x182		MIPSEL-BE Ucode
121