1327e51cbSPeter Avalos 2327e51cbSPeter Avalos#------------------------------------------------------------------------------ 3*82c5fa3eSPeter Avalos# $File: mips,v 1.10 2014/04/30 21:41:02 christos Exp $ 4e8af9738SPeter Avalos# mips: file(1) magic for MIPS ECOFF and Ucode, as used in SGI IRIX 5e8af9738SPeter Avalos# and DEC Ultrix 6327e51cbSPeter Avalos# 7327e51cbSPeter Avalos0 beshort 0x0160 MIPSEB ECOFF executable 8327e51cbSPeter Avalos>20 beshort 0407 (impure) 9327e51cbSPeter Avalos>20 beshort 0410 (swapped) 10327e51cbSPeter Avalos>20 beshort 0413 (paged) 11327e51cbSPeter Avalos>8 belong >0 not stripped 12327e51cbSPeter Avalos>8 belong 0 stripped 13*82c5fa3eSPeter Avalos>22 byte x - version %d 14*82c5fa3eSPeter Avalos>23 byte x \b.%d 15327e51cbSPeter Avalos# 16327e51cbSPeter Avalos0 beshort 0x0162 MIPSEL-BE ECOFF executable 17327e51cbSPeter Avalos>20 beshort 0407 (impure) 18327e51cbSPeter Avalos>20 beshort 0410 (swapped) 19327e51cbSPeter Avalos>20 beshort 0413 (paged) 20327e51cbSPeter Avalos>8 belong >0 not stripped 21327e51cbSPeter Avalos>8 belong 0 stripped 22327e51cbSPeter Avalos>23 byte x - version %d 23*82c5fa3eSPeter Avalos>22 byte x \b.%d 24327e51cbSPeter Avalos# 25327e51cbSPeter Avalos0 beshort 0x6001 MIPSEB-LE ECOFF executable 26327e51cbSPeter Avalos>20 beshort 03401 (impure) 27327e51cbSPeter Avalos>20 beshort 04001 (swapped) 28327e51cbSPeter Avalos>20 beshort 05401 (paged) 29327e51cbSPeter Avalos>8 belong >0 not stripped 30327e51cbSPeter Avalos>8 belong 0 stripped 31327e51cbSPeter Avalos>23 byte x - version %d 32*82c5fa3eSPeter Avalos>22 byte x \b.%d 33327e51cbSPeter Avalos# 34327e51cbSPeter Avalos0 beshort 0x6201 MIPSEL ECOFF executable 35327e51cbSPeter Avalos>20 beshort 03401 (impure) 36327e51cbSPeter Avalos>20 beshort 04001 (swapped) 37327e51cbSPeter Avalos>20 beshort 05401 (paged) 38327e51cbSPeter Avalos>8 belong >0 not stripped 39327e51cbSPeter Avalos>8 belong 0 stripped 40*82c5fa3eSPeter Avalos>23 byte x - version %d 41*82c5fa3eSPeter Avalos>22 byte x \b.%d 42327e51cbSPeter Avalos# 43327e51cbSPeter Avalos# MIPS 2 additions 44327e51cbSPeter Avalos# 45327e51cbSPeter Avalos0 beshort 0x0163 MIPSEB MIPS-II ECOFF executable 46327e51cbSPeter Avalos>20 beshort 0407 (impure) 47327e51cbSPeter Avalos>20 beshort 0410 (swapped) 48327e51cbSPeter Avalos>20 beshort 0413 (paged) 49327e51cbSPeter Avalos>8 belong >0 not stripped 50327e51cbSPeter Avalos>8 belong 0 stripped 51*82c5fa3eSPeter Avalos>22 byte x - version %d 52*82c5fa3eSPeter Avalos>23 byte x \b.%d 53327e51cbSPeter Avalos# 54327e51cbSPeter Avalos0 beshort 0x0166 MIPSEL-BE MIPS-II ECOFF executable 55327e51cbSPeter Avalos>20 beshort 0407 (impure) 56327e51cbSPeter Avalos>20 beshort 0410 (swapped) 57327e51cbSPeter Avalos>20 beshort 0413 (paged) 58327e51cbSPeter Avalos>8 belong >0 not stripped 59327e51cbSPeter Avalos>8 belong 0 stripped 60*82c5fa3eSPeter Avalos>22 byte x - version %d 61*82c5fa3eSPeter Avalos>23 byte x \b.%d 62327e51cbSPeter Avalos# 63327e51cbSPeter Avalos0 beshort 0x6301 MIPSEB-LE MIPS-II ECOFF executable 64327e51cbSPeter Avalos>20 beshort 03401 (impure) 65327e51cbSPeter Avalos>20 beshort 04001 (swapped) 66327e51cbSPeter Avalos>20 beshort 05401 (paged) 67327e51cbSPeter Avalos>8 belong >0 not stripped 68327e51cbSPeter Avalos>8 belong 0 stripped 69*82c5fa3eSPeter Avalos>23 byte x - version %d 70*82c5fa3eSPeter Avalos>22 byte x \b.%d 71327e51cbSPeter Avalos# 72327e51cbSPeter Avalos0 beshort 0x6601 MIPSEL MIPS-II ECOFF executable 73327e51cbSPeter Avalos>20 beshort 03401 (impure) 74327e51cbSPeter Avalos>20 beshort 04001 (swapped) 75327e51cbSPeter Avalos>20 beshort 05401 (paged) 76327e51cbSPeter Avalos>8 belong >0 not stripped 77327e51cbSPeter Avalos>8 belong 0 stripped 78*82c5fa3eSPeter Avalos>23 byte x - version %d 79*82c5fa3eSPeter Avalos>22 byte x \b.%d 80327e51cbSPeter Avalos# 81327e51cbSPeter Avalos# MIPS 3 additions 82327e51cbSPeter Avalos# 83327e51cbSPeter Avalos0 beshort 0x0140 MIPSEB MIPS-III ECOFF executable 84327e51cbSPeter Avalos>20 beshort 0407 (impure) 85327e51cbSPeter Avalos>20 beshort 0410 (swapped) 86327e51cbSPeter Avalos>20 beshort 0413 (paged) 87327e51cbSPeter Avalos>8 belong >0 not stripped 88327e51cbSPeter Avalos>8 belong 0 stripped 89*82c5fa3eSPeter Avalos>22 byte x - version %d 90*82c5fa3eSPeter Avalos>23 byte x \b.%d 91327e51cbSPeter Avalos# 92327e51cbSPeter Avalos0 beshort 0x0142 MIPSEL-BE MIPS-III ECOFF executable 93327e51cbSPeter Avalos>20 beshort 0407 (impure) 94327e51cbSPeter Avalos>20 beshort 0410 (swapped) 95327e51cbSPeter Avalos>20 beshort 0413 (paged) 96327e51cbSPeter Avalos>8 belong >0 not stripped 97327e51cbSPeter Avalos>8 belong 0 stripped 98*82c5fa3eSPeter Avalos>22 byte x - version %d 99*82c5fa3eSPeter Avalos>23 byte x \b.%d 100327e51cbSPeter Avalos# 101327e51cbSPeter Avalos0 beshort 0x4001 MIPSEB-LE MIPS-III ECOFF executable 102327e51cbSPeter Avalos>20 beshort 03401 (impure) 103327e51cbSPeter Avalos>20 beshort 04001 (swapped) 104327e51cbSPeter Avalos>20 beshort 05401 (paged) 105327e51cbSPeter Avalos>8 belong >0 not stripped 106327e51cbSPeter Avalos>8 belong 0 stripped 107*82c5fa3eSPeter Avalos>23 byte x - version %d 108*82c5fa3eSPeter Avalos>22 byte x \b.%d 109327e51cbSPeter Avalos# 110327e51cbSPeter Avalos0 beshort 0x4201 MIPSEL MIPS-III ECOFF executable 111327e51cbSPeter Avalos>20 beshort 03401 (impure) 112327e51cbSPeter Avalos>20 beshort 04001 (swapped) 113327e51cbSPeter Avalos>20 beshort 05401 (paged) 114327e51cbSPeter Avalos>8 belong >0 not stripped 115327e51cbSPeter Avalos>8 belong 0 stripped 116*82c5fa3eSPeter Avalos>23 byte x - version %d 117*82c5fa3eSPeter Avalos>22 byte x \b.%d 118327e51cbSPeter Avalos# 119327e51cbSPeter Avalos0 beshort 0x180 MIPSEB Ucode 120327e51cbSPeter Avalos0 beshort 0x182 MIPSEL-BE Ucode 121