Index: src/trusted/service_runtime/sel_qualify.c |
diff --git a/src/trusted/service_runtime/sel_qualify.c b/src/trusted/service_runtime/sel_qualify.c |
index 2d04300478af49bcbbd8f1010b495e00efa4eb46..0cf24e1caf53ea490fc32ce5d6aa8b27eecadc26 100644 |
--- a/src/trusted/service_runtime/sel_qualify.c |
+++ b/src/trusted/service_runtime/sel_qualify.c |
@@ -18,9 +18,12 @@ NaClErrorCode NaClRunSelQualificationTests(void) { |
return LOAD_UNSUPPORTED_OS_PLATFORM; |
} |
+ /* Mips does not support DEP and it does not need it, so skip it. */ |
+#if NACL_ARCH(NACL_BUILD_ARCH) != NACL_mips |
if (!NaClCheckDEP()) { |
return LOAD_DEP_UNSUPPORTED; |
} |
+#endif |
#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 |
if (NaCl_ThisCPUIsBlacklisted()) { |