add mips n32 port (ILP32 ABI for mips64) based on patch submitted by Jaydeep Patil, with minor changes.