Search code examples
mipsmips32

Understanding type of mips binary


I tried file binary and would like some help in understanding the output of this. Outputs are as follows:

ELF 32-bit MSB shared object, MIPS, MIPS-I version 1 (SYSV), dynamically linked, not stripped

and for another file

ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped

I am particularly interested in what MIPS-I version 1 (SYSV) and MIPS32 version 1 (SYSV) mean and how it related to my mips processor version and mips toolchain version


Solution

  • MIPS-I and MIPS32 version 1 are various iterations of the MIPS instruction set. Generally newer versions of the instruction set are backwards compatible with older versions, so your .so and executable should be compatible.