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

Unified Diff: src/trusted/service_runtime/linux/mips/sel_segments.c

Issue 11368024: [MIPS] Restore the trusted stack in NaClSyscallSeg. (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Update Copyright headers. Remote presubmit complained about it. Created 8 years, 1 month 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/arch/mips/sel_rt.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/linux/mips/sel_segments.c
diff --git a/src/trusted/service_runtime/linux/mips/sel_segments.c b/src/trusted/service_runtime/linux/mips/sel_segments.c
index 3ac94017f1908619a84d4691725fc09dd516bbfc..c0a3136d50797eea9bbe2bfce3deddede843ada6 100644
--- a/src/trusted/service_runtime/linux/mips/sel_segments.c
+++ b/src/trusted/service_runtime/linux/mips/sel_segments.c
@@ -1,7 +1,7 @@
/*
- * Copyright 2012 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
#include <stdint.h>
@@ -15,11 +15,3 @@ uint32_t NaClGetStackPtr(void) {
return sp;
}
-uint32_t NaClGetGlobalPtr(void) {
- uint32_t gp;
-
- asm("move %0, $gp" : "=r" (gp));
-
- return gp;
-}
-
« no previous file with comments | « src/trusted/service_runtime/arch/mips/sel_rt.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698