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