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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "barebones.h" 7 #include "barebones.h"
8 8
9 9
10 int main(void) { 10 int main(void) {
11 NACL_SYSCALL(exit)(55 + ((int)__builtin_dwarf_cfa() & 15)); 11 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.
12 /* UNREACHABLE */ 12 /* UNREACHABLE */
13 return 0; 13 return 0;
14 } 14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698