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

Unified Diff: src/trusted/service_runtime/elf_util.c

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, 3 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
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/include/bits/wordsize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/elf_util.c
diff --git a/src/trusted/service_runtime/elf_util.c b/src/trusted/service_runtime/elf_util.c
index 2ce14f467617796cfc3491181202f3fedab35b2a..a635e9db2cdd84c9d80affbab0151a6595c713ef 100644
--- a/src/trusted/service_runtime/elf_util.c
+++ b/src/trusted/service_runtime/elf_util.c
@@ -104,6 +104,8 @@ static const struct NaClPhdrChecks nacl_phdr_check_data[] = {
# endif
#elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
# define EM_EXPECTED_BY_NACL EM_ARM
+#elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
+# define EM_EXPECTED_BY_NACL EM_MIPS
#else
# error "Unknown platform!"
#endif
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/include/bits/wordsize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698