Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: tests/data_not_executable/execute_data.c

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..af1ab448d790fef7e405336e29681e45fb532c0d 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 */
Mark Seaborn 2013/02/13 22:14:09 Add a space before '='
petarj 2013/03/05 17:50:04 Done.
+ 0 /* NOP */ };
#else
# error Unknown architecture
#endif

Powered by Google App Engine
This is Rietveld 408576698