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

Side by Side Diff: src/trusted/service_runtime/include/bits/wordsize.h

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase (Saturday morning). Created 8 years, 2 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 2009 The Native Client Authors. All rights reserved. 2 * Copyright 2009 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Service Runtime API. 8 * NaCl Service Runtime API.
9 */ 9 */
10 10
11 11
12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_ 12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
13 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_ 13 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
14 14
15 #if defined(__powerpc64__) || defined(__s390x__) || defined(__arch64__) || \ 15 #if !defined(__WORDSIZE)
16 defined(__sparcv9) || defined(__x86_64__) || defined(_AMD64_) || \ 16 # if defined(__powerpc64__) || defined(__s390x__) || defined(__arch64__) || \
17 defined(_M_AMD64) 17 defined(__sparcv9) || defined(__x86_64__) || defined(_AMD64_) || \
18 #define __WORDSIZE 64 18 defined(_M_AMD64)
19 #else 19 # define __WORDSIZE 64
20 #define __WORDSIZE 32 20 # else
21 # define __WORDSIZE 32
22 # endif
21 #endif 23 #endif
22 24
23 #endif 25 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/elf_util.c ('k') | src/trusted/service_runtime/linux/mips/sel_segments.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698