2 #------------------------------------------------------------------------------
3 # $File: mips,v 1.7 2011/05/03 01:44:17 christos Exp $
4 # mips: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.)
6 # all of SGI's *current* machines and OSes run in big-endian mode on the
7 # MIPS machines, as far as I know.
9 # XXX - what is the blank "-" line?
11 # kbd file definitions
12 0 string kbd!map kbd map file
14 >10 short >0 with %d table(s)
15 0 belong 0407 old SGI 68020 executable
16 0 belong 0410 old SGI 68020 pure executable
17 0 beshort 0x8765 disk quotas file
18 0 beshort 0x0506 IRIS Showcase file
20 >3 byte x - version %ld
21 0 beshort 0x0226 IRIS Showcase template
23 >3 byte x - version %ld
24 0 belong 0x5343464d IRIS Showcase file
25 >4 byte x - version %ld
26 0 belong 0x5443464d IRIS Showcase template
27 >4 byte x - version %ld
28 0 belong 0xdeadbabe IRIX Parallel Arena
29 >8 belong >0 - version %ld
31 0 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
37 >22 byte x - version %ld
40 0 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
46 >23 byte x - version %d
49 0 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
55 >23 byte x - version %d
58 0 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
64 >23 byte x - version %ld
69 0 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
75 >22 byte x - version %ld
78 0 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
84 >22 byte x - version %ld
87 0 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
93 >23 byte x - version %ld
96 0 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
102 >23 byte x - version %ld
107 0 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
113 >22 byte x - version %ld
116 0 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
122 >22 byte x - version %ld
125 0 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
131 >23 byte x - version %ld
134 0 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
140 >23 byte x - version %ld
143 0 beshort 0x180 MIPSEB Ucode
144 0 beshort 0x182 MIPSEL-BE Ucode
146 0 belong 0xdeadadb0 IRIX core dump
150 0 belong 0xdeadad40 IRIX 64-bit core dump
154 0 belong 0xbabec0bb IRIX N32 core dump
157 # New style crash dump file
158 0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of
161 0 string SGIAUDIT SGI Audit file
162 >8 byte x - version %d
165 0 string WNGZWZSC Wingz compiled script
166 0 string WNGZWZSS Wingz spreadsheet
167 0 string WNGZWZHP Wingz help file
169 0 string #Inventor V IRIS Inventor 1.0 file
170 0 string #Inventor V2 Open Inventor 2.0 file
171 # GLF is OpenGL stream encoding
172 0 string glfHeadMagic(); GLF_TEXT
173 4 belong 0x7d000000 GLF_BINARY_LSB_FIRST
175 4 belong 0x0000007d GLF_BINARY_MSB_FIRST
177 # GLS is OpenGL stream encoding; GLS is the successor of GLF
178 0 string glsBeginGLS( GLS_TEXT
179 4 belong 0x10000000 GLS_BINARY_LSB_FIRST
181 4 belong 0x00000010 GLS_BINARY_MSB_FIRST