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

Side by Side Diff: src/untrusted/irt/elf_restart_x86_32.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: disable bogus stack_frame.cc test for now Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/untrusted/irt/elf_restart_arm.S ('k') | src/untrusted/irt/elf_restart_x86_64.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 /*
8 * The ELF entry point ABI is such that assembly code is required to
9 * call the entry point.
10 * See http://code.google.com/p/nativeclient/issues/detail?id=1131
11 */
12
13 /*
14 * arg 1: 4(%esp), new stack pointer
15 * arg 2: 8(%esp), entry point
16 * arg 3: 12(%esp), atexit function, to be left in %edx
17 */
18 .global jump_to_elf_start
19 jump_to_elf_start:
20 mov 12(%esp), %edx
21 mov 8(%esp), %eax
22 mov 4(%esp), %esp
23 nacljmp %eax
OLDNEW
« no previous file with comments | « src/untrusted/irt/elf_restart_arm.S ('k') | src/untrusted/irt/elf_restart_x86_64.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698