mips 3.0 KB

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