diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 4a99590d82..1df7c2c4b7 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -238,8 +238,11 @@ static QList abiOf(const QByteArray &data) result.append(Abi(Abi::X86Architecture, os, flavor, Abi::ElfFormat, 32)); break; case 8: // EM_MIPS - result.append(Abi(Abi::MipsArchitecture, os, flavor, Abi::ElfFormat, 32)); + { + const int width = getUint8(data, 4) == 2 ? 64 : 32; + result.append(Abi(Abi::MipsArchitecture, os, flavor, Abi::ElfFormat, width)); break; + } case 20: // EM_PPC result.append(Abi(Abi::PowerPCArchitecture, os, flavor, Abi::ElfFormat, 32)); break;