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

Unified Diff: src/untrusted/irt/elf_restart_arm.S

Issue 7276050: Change startup ABI for untrusted code to be C-compatible (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years, 6 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
Index: src/untrusted/irt/elf_restart_arm.S
diff --git a/src/untrusted/irt/elf_restart_arm.S b/src/untrusted/irt/elf_restart_arm.S
deleted file mode 100644
index d81c52bc4d43b3e5eda14da825965c959e15343d..0000000000000000000000000000000000000000
--- a/src/untrusted/irt/elf_restart_arm.S
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2011 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.
- */
-
-/*
- * The ELF entry point ABI is such that assembly code is required to
- * call the entry point.
- * See http://code.google.com/p/nativeclient/issues/detail?id=1131
- */
-
-#include "native_client/src/trusted/service_runtime/nacl_config.h"
-
- /*
- * arg 1: r0, new stack pointer
- * arg 2: r1, entry point
- * arg 3: r2, atexit function, to be left in r0
- */
- .global jump_to_elf_start
-jump_to_elf_start:
- mov sp, r0
- bic sp, sp, #NACL_DATA_FLOW_MASK
-
- mov r0, r2
- nop
-
- bic r1, r1, #NACL_CONTROL_FLOW_MASK
- bx r1

Powered by Google App Engine
This is Rietveld 408576698