Abi: Mips support

* Detect Mips in binaries
* Parse mips gcc string properly
* Add unit tests for both

Thanks go to fralik from devnet for providing the test data!
This commit is contained in:
Tobias Hunger
2011-04-06 10:04:57 +02:00
parent 1352ae3deb
commit 7bae23b3a6
2 changed files with 12 additions and 1 deletions

View File

@@ -654,6 +654,10 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary_data()
QTest::newRow("dynamic QtCore: arm linux 32bit")
<< QString::fromLatin1("%1/abi/dynamic/arm-linux.so").arg(prefix)
<< (QStringList() << QString::fromLatin1("arm-linux-generic-elf-32bit"));
QTest::newRow("dynamic QtCore: mips linux 32bit")
<< QString::fromLatin1("%1/abi/dynamic/mips-linux.so").arg(prefix)
<< (QStringList() << QString::fromLatin1("mips-linux-generic-elf-32bit"));
}
void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary()