]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/valgrind/src/valgrind-3.6.0-svn/tests/arch_test.c
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / tests / arch_test.c
index 9db75e57820237e76597434c91f0437f88d862a7..564fb2df5a88313f0b213fc7d32a4472271d7bc2 100644 (file)
@@ -28,6 +28,7 @@ char* all_archs[] = {
    "ppc32",
    "ppc64",
    "arm",
+   "s390x",
    NULL
 };
 
@@ -47,6 +48,9 @@ static Bool go(char* arch)
    if ( 0 == strcmp( arch, "ppc64" ) ) return True;
    if ( 0 == strcmp( arch, "ppc32" ) ) return True;
 
+#elif defined(VGP_s390x_linux)
+   if ( 0 == strcmp( arch, "s390x" ) ) return True;
+
 #elif defined(VGP_ppc32_aix5) || defined(VGP_ppc64_aix5)
    if (sizeof(void*) == 8) {
       /* CPU is in 64-bit mode */