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

Unified Diff: tests/barebones/barebones_stack_alignment16.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/barebones/barebones_stack_alignment16.c
diff --git a/tests/barebones/barebones_stack_alignment16.c b/tests/barebones/barebones_stack_alignment16.c
index 9bb168f40a17763e4bce421b434bb1d455d08667..8ba61185ae530be0d552cc40d17fa3c54e2543e1 100644
--- a/tests/barebones/barebones_stack_alignment16.c
+++ b/tests/barebones/barebones_stack_alignment16.c
@@ -8,7 +8,7 @@
int main(void) {
- NACL_SYSCALL(exit)(55 + ((int)__builtin_dwarf_cfa() & 15));
+ NACL_SYSCALL(exit)(55 + ((int)__builtin_dwarf_cfa() & NACL_STACK_ALIGN_MASK));
Mark Seaborn 2013/02/13 22:14:09 This test is bizarre. I'm not sure what it's supp
petarj 2013/03/05 17:50:04 Ok, I will remove it in a separate change.
/* UNREACHABLE */
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698