1 2#------------------------------------------------------------------------------ 3# mips: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.) 4# Dec Ultrix (MIPS) 5# all of SGI's *current* machines and OSes run in big-endian mode on the 6# MIPS machines, as far as I know. 7# 8# XXX - what is the blank "-" line? 9# 10# kbd file definitions 110 string kbd!map kbd map file 12>8 byte >0 Ver %d: 13>10 short >0 with %d table(s) 140 belong 0407 old SGI 68020 executable 150 belong 0410 old SGI 68020 pure executable 160 beshort 0x8765 disk quotas file 170 beshort 0x0506 IRIS Showcase file 18>2 byte 0x49 - 19>3 byte x - version %ld 200 beshort 0x0226 IRIS Showcase template 21>2 byte 0x63 - 22>3 byte x - version %ld 230 belong 0x5343464d IRIS Showcase file 24>4 byte x - version %ld 250 belong 0x5443464d IRIS Showcase template 26>4 byte x - version %ld 270 belong 0xdeadbabe IRIX Parallel Arena 28>8 belong >0 - version %ld 29# 300 beshort 0x0160 MIPSEB ECOFF executable 31>20 beshort 0407 (impure) 32>20 beshort 0410 (swapped) 33>20 beshort 0413 (paged) 34>8 belong >0 not stripped 35>8 belong 0 stripped 36>22 byte x - version %ld 37>23 byte x .%ld 38# 390 beshort 0x0162 MIPSEL-BE ECOFF executable 40>20 beshort 0407 (impure) 41>20 beshort 0410 (swapped) 42>20 beshort 0413 (paged) 43>8 belong >0 not stripped 44>8 belong 0 stripped 45>23 byte x - version %d 46>22 byte x .%ld 47# 480 beshort 0x6001 MIPSEB-LE ECOFF executable 49>20 beshort 03401 (impure) 50>20 beshort 04001 (swapped) 51>20 beshort 05401 (paged) 52>8 belong >0 not stripped 53>8 belong 0 stripped 54>23 byte x - version %d 55>22 byte x .%ld 56# 570 beshort 0x6201 MIPSEL ECOFF executable 58>20 beshort 03401 (impure) 59>20 beshort 04001 (swapped) 60>20 beshort 05401 (paged) 61>8 belong >0 not stripped 62>8 belong 0 stripped 63>23 byte x - version %ld 64>22 byte x .%ld 65# 66# MIPS 2 additions 67# 680 beshort 0x0163 MIPSEB MIPS-II ECOFF executable 69>20 beshort 0407 (impure) 70>20 beshort 0410 (swapped) 71>20 beshort 0413 (paged) 72>8 belong >0 not stripped 73>8 belong 0 stripped 74>22 byte x - version %ld 75>23 byte x .%ld 76# 770 beshort 0x0166 MIPSEL-BE MIPS-II ECOFF executable 78>20 beshort 0407 (impure) 79>20 beshort 0410 (swapped) 80>20 beshort 0413 (paged) 81>8 belong >0 not stripped 82>8 belong 0 stripped 83>22 byte x - version %ld 84>23 byte x .%ld 85# 860 beshort 0x6301 MIPSEB-LE MIPS-II ECOFF executable 87>20 beshort 03401 (impure) 88>20 beshort 04001 (swapped) 89>20 beshort 05401 (paged) 90>8 belong >0 not stripped 91>8 belong 0 stripped 92>23 byte x - version %ld 93>22 byte x .%ld 94# 950 beshort 0x6601 MIPSEL MIPS-II ECOFF executable 96>20 beshort 03401 (impure) 97>20 beshort 04001 (swapped) 98>20 beshort 05401 (paged) 99>8 belong >0 not stripped 100>8 belong 0 stripped 101>23 byte x - version %ld 102>22 byte x .%ld 103# 104# MIPS 3 additions 105# 1060 beshort 0x0140 MIPSEB MIPS-III ECOFF executable 107>20 beshort 0407 (impure) 108>20 beshort 0410 (swapped) 109>20 beshort 0413 (paged) 110>8 belong >0 not stripped 111>8 belong 0 stripped 112>22 byte x - version %ld 113>23 byte x .%ld 114# 1150 beshort 0x0142 MIPSEL-BE MIPS-III ECOFF executable 116>20 beshort 0407 (impure) 117>20 beshort 0410 (swapped) 118>20 beshort 0413 (paged) 119>8 belong >0 not stripped 120>8 belong 0 stripped 121>22 byte x - version %ld 122>23 byte x .%ld 123# 1240 beshort 0x4001 MIPSEB-LE MIPS-III ECOFF executable 125>20 beshort 03401 (impure) 126>20 beshort 04001 (swapped) 127>20 beshort 05401 (paged) 128>8 belong >0 not stripped 129>8 belong 0 stripped 130>23 byte x - version %ld 131>22 byte x .%ld 132# 1330 beshort 0x4201 MIPSEL MIPS-III ECOFF executable 134>20 beshort 03401 (impure) 135>20 beshort 04001 (swapped) 136>20 beshort 05401 (paged) 137>8 belong >0 not stripped 138>8 belong 0 stripped 139>23 byte x - version %ld 140>22 byte x .%ld 141# 1420 beshort 0x180 MIPSEB Ucode 1430 beshort 0x182 MIPSEL-BE Ucode 144# 32bit core file 1450 belong 0xdeadadb0 IRIX core dump 146>4 belong 1 of 147>16 string >\0 '%s' 148# 64bit core file 1490 belong 0xdeadad40 IRIX 64-bit core dump 150>4 belong 1 of 151>16 string >\0 '%s' 152# N32bit core file 1530 belong 0xbabec0bb IRIX N32 core dump 154>4 belong 1 of 155>16 string >\0 '%s' 156# New style crash dump file 1570 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of 158>36 string >\0 '%s' 159# Trusted IRIX info 1600 string SGIAUDIT SGI Audit file 161>8 byte x - version %d 162>9 byte x .%ld 163# 1640 string WNGZWZSC Wingz compiled script 1650 string WNGZWZSS Wingz spreadsheet 1660 string WNGZWZHP Wingz help file 167# 1680 string #Inventor V IRIS Inventor 1.0 file 1690 string #Inventor V2 Open Inventor 2.0 file 170# GLF is OpenGL stream encoding 1710 string glfHeadMagic(); GLF_TEXT 1724 belong 0x7d000000 GLF_BINARY_LSB_FIRST 1734 belong 0x0000007d GLF_BINARY_MSB_FIRST 174# GLS is OpenGL stream encoding; GLS is the successor of GLF 1750 string glsBeginGLS( GLS_TEXT 1764 belong 0x10000000 GLS_BINARY_LSB_FIRST 1774 belong 0x00000010 GLS_BINARY_MSB_FIRST 178