sgi 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. #------------------------------------------------------------------------------
  2. # sgi: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.)
  3. # Dec Ultrix (MIPS)
  4. # all of SGI's *current* machines and OSes run in big-endian mode on the
  5. # MIPS machines, as far as I know.
  6. #
  7. # XXX - what is the blank "-" line?
  8. #
  9. # kbd file definitions
  10. 0 string kbd!map kbd map file
  11. >8 byte >0 Ver %d:
  12. >10 short >0 with %d table(s)
  13. 0 belong 0407 old SGI 68020 executable
  14. 0 belong 0410 old SGI 68020 pure executable
  15. 0 beshort 0x8765 disk quotas file
  16. 0 beshort 0x0506 IRIS Showcase file
  17. >2 byte 0x49 -
  18. >3 byte x - version %ld
  19. 0 beshort 0x0226 IRIS Showcase template
  20. >2 byte 0x63 -
  21. >3 byte x - version %ld
  22. 0 belong 0x5343464d IRIS Showcase file
  23. >4 byte x - version %ld
  24. 0 belong 0x5443464d IRIS Showcase template
  25. >4 byte x - version %ld
  26. 0 belong 0xdeadbabe IRIX Parallel Arena
  27. >8 belong >0 - version %ld
  28. #
  29. 0 beshort 0x0160 MIPSEB COFF executable
  30. >20 beshort 0407 (impure)
  31. >20 beshort 0410 (swapped)
  32. >20 beshort 0413 (paged)
  33. >8 belong >0 not stripped
  34. >8 belong 0 stripped
  35. >22 byte x - version %ld
  36. >23 byte x .%ld
  37. #
  38. 0 beshort 0x0162 MIPSEL COFF executable
  39. >20 beshort 0407 (impure)
  40. >20 beshort 0410 (swapped)
  41. >20 beshort 0413 (paged)
  42. >8 belong >0 not stripped
  43. >8 belong 0 stripped
  44. >23 byte x - version %d
  45. >22 byte x .%ld
  46. #
  47. 0 beshort 0x6001 MIPSEB-LE COFF executable
  48. >20 beshort 03401 (impure)
  49. >20 beshort 04001 (swapped)
  50. >20 beshort 05401 (paged)
  51. >8 belong >0 not stripped
  52. >8 belong 0 stripped
  53. >23 byte x - version %d
  54. >22 byte x .%ld
  55. #
  56. 0 beshort 0x6201 MIPSEL-LE COFF executable
  57. >20 beshort 03401 (impure)
  58. >20 beshort 04001 (swapped)
  59. >20 beshort 05401 (paged)
  60. >8 belong >0 not stripped
  61. >8 belong 0 stripped
  62. >23 byte x - version %ld
  63. >22 byte x .%ld
  64. #
  65. # MIPS 2 additions
  66. #
  67. 0 beshort 0x0163 MIPSEB MIPS-II COFF executable
  68. >20 beshort 0407 (impure)
  69. >20 beshort 0410 (swapped)
  70. >20 beshort 0413 (paged)
  71. >8 belong >0 not stripped
  72. >8 belong 0 stripped
  73. >22 byte x - version %ld
  74. >23 byte x .%ld
  75. #
  76. 0 beshort 0x0166 MIPSEL MIPS-II COFF executable
  77. >20 beshort 0407 (impure)
  78. >20 beshort 0410 (swapped)
  79. >20 beshort 0413 (paged)
  80. >8 belong >0 not stripped
  81. >8 belong 0 stripped
  82. >22 byte x - version %ld
  83. >23 byte x .%ld
  84. #
  85. 0 beshort 0x6301 MIPSEB-LE MIPS-II COFF executable
  86. >20 beshort 03401 (impure)
  87. >20 beshort 04001 (swapped)
  88. >20 beshort 05401 (paged)
  89. >8 belong >0 not stripped
  90. >8 belong 0 stripped
  91. >23 byte x - version %ld
  92. >22 byte x .%ld
  93. #
  94. 0 beshort 0x6601 MIPSEL-LE MIPS-II COFF executable
  95. >20 beshort 03401 (impure)
  96. >20 beshort 04001 (swapped)
  97. >20 beshort 05401 (paged)
  98. >8 belong >0 not stripped
  99. >8 belong 0 stripped
  100. >23 byte x - version %ld
  101. >22 byte x .%ld
  102. #
  103. # MIPS 3 additions
  104. #
  105. 0 beshort 0x0140 MIPSEB MIPS-III COFF executable
  106. >20 beshort 0407 (impure)
  107. >20 beshort 0410 (swapped)
  108. >20 beshort 0413 (paged)
  109. >8 belong >0 not stripped
  110. >8 belong 0 stripped
  111. >22 byte x - version %ld
  112. >23 byte x .%ld
  113. #
  114. 0 beshort 0x0142 MIPSEL MIPS-III COFF executable
  115. >20 beshort 0407 (impure)
  116. >20 beshort 0410 (swapped)
  117. >20 beshort 0413 (paged)
  118. >8 belong >0 not stripped
  119. >8 belong 0 stripped
  120. >22 byte x - version %ld
  121. >23 byte x .%ld
  122. #
  123. 0 beshort 0x4001 MIPSEB-LE MIPS-III COFF executable
  124. >20 beshort 03401 (impure)
  125. >20 beshort 04001 (swapped)
  126. >20 beshort 05401 (paged)
  127. >8 belong >0 not stripped
  128. >8 belong 0 stripped
  129. >23 byte x - version %ld
  130. >22 byte x .%ld
  131. #
  132. 0 beshort 0x4201 MIPSEL-LE MIPS-III COFF executable
  133. >20 beshort 03401 (impure)
  134. >20 beshort 04001 (swapped)
  135. >20 beshort 05401 (paged)
  136. >8 belong >0 not stripped
  137. >8 belong 0 stripped
  138. >23 byte x - version %ld
  139. >22 byte x .%ld
  140. #
  141. 0 beshort 0x180 MIPSEB Ucode
  142. 0 beshort 0x182 MIPSEL Ucode
  143. # 32bit core file
  144. 0 belong 0xdeadadb0 IRIX core dump
  145. >4 belong 1 of
  146. >16 string >\0 '%s'
  147. # 64bit core file
  148. 0 belong 0xdeadad40 IRIX 64-bit core dump
  149. >4 belong 1 of
  150. >16 string >\0 '%s'
  151. # N32bit core file
  152. 0 belong 0xbabec0bb IRIX N32 core dump
  153. >4 belong 1 of
  154. >16 string >\0 '%s'
  155. # New style crash dump file
  156. 0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of
  157. >36 string >\0 '%s'
  158. # Trusted IRIX info
  159. 0 string SGIAUDIT SGI Audit file
  160. >8 byte x - version %d
  161. >9 byte x .%ld
  162. #
  163. 0 string WNGZWZSC Wingz compiled script
  164. 0 string WNGZWZSS Wingz spreadsheet
  165. 0 string WNGZWZHP Wingz help file
  166. #
  167. 0 string \#Inventor V IRIS Inventor 1.0 file
  168. 0 string \#Inventor V2 Open Inventor 2.0 file
  169. # XXX - I don't know what next thing is! It is likely to be an image
  170. # (or movie) format
  171. 0 string glfHeadMagic(); GLF_TEXT
  172. 4 belong 0x41010000 GLF_BINARY_LSB_FIRST
  173. 4 belong 0x00000141 GLF_BINARY_MSB_FIRST