xref: /dragonfly/contrib/file/magic/Magdir/mips (revision 8a0bcd56)
1
2#------------------------------------------------------------------------------
3# $File: mips,v 1.5 2009/09/19 16:28:10 christos Exp $
4# mips:  file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.)
5#                         Dec Ultrix (MIPS)
6# all of SGI's *current* machines and OSes run in big-endian mode on the
7# MIPS machines, as far as I know.
8#
9# XXX - what is the blank "-" line?
10#
11# kbd file definitions
120	string	kbd!map		kbd map file
13>8	byte	>0		Ver %d:
14>10	short	>0		with %d table(s)
150	belong	0407		old SGI 68020 executable
160	belong	0410		old SGI 68020 pure executable
170	beshort	0x8765		disk quotas file
180	beshort	0x0506		IRIS Showcase file
19>2	byte	0x49		-
20>3	byte	x		- version %ld
210	beshort	0x0226		IRIS Showcase template
22>2	byte	0x63		-
23>3	byte	x		- version %ld
240	belong	0x5343464d	IRIS Showcase file
25>4	byte	x		- version %ld
260	belong	0x5443464d	IRIS Showcase template
27>4	byte	x		- version %ld
280	belong	0xdeadbabe	IRIX Parallel Arena
29>8	belong	>0		- version %ld
30#
310	beshort	0x0160		MIPSEB ECOFF executable
32>20	beshort	0407		(impure)
33>20	beshort	0410		(swapped)
34>20	beshort	0413		(paged)
35>8	belong	>0		not stripped
36>8	belong	0		stripped
37>22	byte	x		- version %ld
38>23	byte	x		.%ld
39#
400	beshort	0x0162		MIPSEL-BE ECOFF executable
41>20	beshort	0407		(impure)
42>20	beshort	0410		(swapped)
43>20	beshort	0413		(paged)
44>8	belong	>0		not stripped
45>8	belong	0		stripped
46>23	byte	x		- version %d
47>22	byte	x		.%ld
48#
490	beshort	0x6001		MIPSEB-LE ECOFF executable
50>20	beshort	03401		(impure)
51>20	beshort	04001		(swapped)
52>20	beshort	05401		(paged)
53>8	belong	>0		not stripped
54>8	belong	0		stripped
55>23	byte	x		- version %d
56>22	byte	x		.%ld
57#
580	beshort	0x6201		MIPSEL ECOFF executable
59>20	beshort	03401		(impure)
60>20	beshort	04001		(swapped)
61>20	beshort	05401		(paged)
62>8	belong	>0		not stripped
63>8	belong	0		stripped
64>23	byte	x		- version %ld
65>22	byte	x		.%ld
66#
67# MIPS 2 additions
68#
690	beshort	0x0163		MIPSEB MIPS-II ECOFF executable
70>20	beshort	0407		(impure)
71>20	beshort	0410		(swapped)
72>20	beshort	0413		(paged)
73>8	belong	>0		not stripped
74>8	belong	0		stripped
75>22	byte	x		- version %ld
76>23	byte	x		.%ld
77#
780	beshort	0x0166		MIPSEL-BE MIPS-II ECOFF executable
79>20	beshort	0407		(impure)
80>20	beshort	0410		(swapped)
81>20	beshort	0413		(paged)
82>8	belong	>0		not stripped
83>8	belong	0		stripped
84>22	byte	x		- version %ld
85>23	byte	x		.%ld
86#
870	beshort	0x6301		MIPSEB-LE MIPS-II ECOFF executable
88>20	beshort	03401		(impure)
89>20	beshort	04001		(swapped)
90>20	beshort	05401		(paged)
91>8	belong	>0		not stripped
92>8	belong	0		stripped
93>23	byte	x		- version %ld
94>22	byte	x		.%ld
95#
960	beshort	0x6601		MIPSEL MIPS-II ECOFF executable
97>20	beshort	03401		(impure)
98>20	beshort	04001		(swapped)
99>20	beshort	05401		(paged)
100>8	belong	>0		not stripped
101>8	belong	0		stripped
102>23	byte	x		- version %ld
103>22	byte	x		.%ld
104#
105# MIPS 3 additions
106#
1070	beshort	0x0140		MIPSEB MIPS-III ECOFF executable
108>20	beshort	0407		(impure)
109>20	beshort	0410		(swapped)
110>20	beshort	0413		(paged)
111>8	belong	>0		not stripped
112>8	belong	0		stripped
113>22	byte	x		- version %ld
114>23	byte	x		.%ld
115#
1160	beshort	0x0142		MIPSEL-BE MIPS-III ECOFF executable
117>20	beshort	0407		(impure)
118>20	beshort	0410		(swapped)
119>20	beshort	0413		(paged)
120>8	belong	>0		not stripped
121>8	belong	0		stripped
122>22	byte	x		- version %ld
123>23	byte	x		.%ld
124#
1250	beshort	0x4001		MIPSEB-LE MIPS-III ECOFF executable
126>20	beshort	03401		(impure)
127>20	beshort	04001		(swapped)
128>20	beshort	05401		(paged)
129>8	belong	>0		not stripped
130>8	belong	0		stripped
131>23	byte	x		- version %ld
132>22	byte	x		.%ld
133#
1340	beshort	0x4201		MIPSEL MIPS-III ECOFF executable
135>20	beshort	03401		(impure)
136>20	beshort	04001		(swapped)
137>20	beshort	05401		(paged)
138>8	belong	>0		not stripped
139>8	belong	0		stripped
140>23	byte	x		- version %ld
141>22	byte	x		.%ld
142#
1430	beshort	0x180		MIPSEB Ucode
1440	beshort	0x182		MIPSEL-BE Ucode
145# 32bit core file
1460	belong	0xdeadadb0	IRIX core dump
147>4	belong	1		of
148>16	string	>\0		'%s'
149# 64bit core file
1500	belong	0xdeadad40	IRIX 64-bit core dump
151>4	belong	1		of
152>16	string	>\0		'%s'
153# N32bit core file
1540       belong	0xbabec0bb	IRIX N32 core dump
155>4      belong	1               of
156>16     string	>\0             '%s'
157# New style crash dump file
1580	string	\x43\x72\x73\x68\x44\x75\x6d\x70	IRIX vmcore dump of
159>36	string	>\0					'%s'
160# Trusted IRIX info
1610	string	SGIAUDIT	SGI Audit file
162>8	byte	x		- version %d
163>9	byte	x		.%ld
164#
1650	string	WNGZWZSC	Wingz compiled script
1660	string	WNGZWZSS	Wingz spreadsheet
1670	string	WNGZWZHP	Wingz help file
168#
1690	string	#Inventor V	IRIS Inventor 1.0 file
1700	string	#Inventor V2	Open Inventor 2.0 file
171# GLF is OpenGL stream encoding
1720	string	glfHeadMagic();		GLF_TEXT
1734	belong	0x7d000000		GLF_BINARY_LSB_FIRST
1744	belong	0x0000007d		GLF_BINARY_MSB_FIRST
175# GLS is OpenGL stream encoding; GLS is the successor of GLF
1760	string	glsBeginGLS(		GLS_TEXT
1774	belong	0x10000000		GLS_BINARY_LSB_FIRST
1784	belong	0x00000010		GLS_BINARY_MSB_FIRST
179