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

Unified Diff: src/trusted/service_runtime/arch/mips/nacl_switch.S

Issue 13454020: [MIPS] Small updates after LLVM merge (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Fix license header. Created 7 years, 8 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/include/elf_constants.h ('k') | src/trusted/service_runtime/elf_util.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/arch/mips/nacl_switch.S
diff --git a/src/trusted/service_runtime/arch/mips/nacl_switch.S b/src/trusted/service_runtime/arch/mips/nacl_switch.S
index c95d007f3742aaf365a975994085d422468c109a..ac545e610ff9e24aa076d1137475c1a68e384175 100644
--- a/src/trusted/service_runtime/arch/mips/nacl_switch.S
+++ b/src/trusted/service_runtime/arch/mips/nacl_switch.S
@@ -29,6 +29,7 @@ DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaClSwitch):
* remaining registers are overwritten by the code that follows
* after.
*/
+ addu $at, $zero, $zero
addu $v1, $zero, $zero
addu $a1, $zero, $zero
addu $a2, $zero, $zero
@@ -39,6 +40,7 @@ DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaClSwitch):
addu $t3, $zero, $zero
addu $t4, $zero, $zero
addu $t5, $zero, $zero
+ addu $gp, $zero, $zero
addu $ra, $zero, $zero
/* NACL_CALLEE_SAVE_LIST BEGIN */
« no previous file with comments | « src/include/elf_constants.h ('k') | src/trusted/service_runtime/elf_util.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698