mips: adding MIPS64LE support to Valgrind
Necessary changes to Valgrind to support MIPS64LE on Linux.
Minor cleanup/style changes embedded in the patch as well.
The change corresponds to r2687 in VEX.
Patch written by Dejan Jevtic and Petar Jovanovic.
More information about this issue:
https://bugs.kde.org/show_bug.cgi?id=313267
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13292 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/tests/arch_test.c b/tests/arch_test.c
index b3740b5..849af6e 100644
--- a/tests/arch_test.c
+++ b/tests/arch_test.c
@@ -30,6 +30,7 @@
"arm",
"s390x",
"mips32",
+ "mips64",
NULL
};
@@ -62,6 +63,9 @@
#elif defined(VGP_mips32_linux)
if ( 0 == strcmp( arch, "mips32" ) ) return True;
+#elif defined(VGP_mips64_linux)
+ if ( 0 == strcmp( arch, "mips64" ) ) return True;
+
#else
# error Unknown platform
#endif // VGP_*