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