Index: tests/data_not_executable/execute_data.c |
diff --git a/tests/data_not_executable/execute_data.c b/tests/data_not_executable/execute_data.c |
index bd34e51d9c235f9881e00986f1ac0ec5246dfc0b..e3ad03a74307f4261cd9558f453a3e97534cfabd 100644 |
--- a/tests/data_not_executable/execute_data.c |
+++ b/tests/data_not_executable/execute_data.c |
@@ -13,6 +13,9 @@ int main(void) { |
uint8_t code[] __attribute__((aligned(32))) = { 0xc3 /* ret */ }; |
#elif defined(__arm__) |
uint32_t code[] __attribute__((aligned(32))) = { 0xe12fff1e /* BX LR */ }; |
+#elif defined(__mips__) |
+ uint32_t code[] __attribute__((aligned(32))) = { 0x03e00008, /* JR RA */ |
+ 0 /* NOP */ }; |
#else |
# error Unknown architecture |
#endif |