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

Side by Side Diff: chrome/nacl/nacl_helper_bootstrap_linux.c

Issue 8811002: Revert 113074 - Use nacl_helper_bootstrap from native_client repository (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « chrome/nacl.gypi ('k') | chrome/nacl/nacl_helper_bootstrap_linux.x » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 * 4 *
5 * This is a standalone program that loads and runs the dynamic linker. 5 * This is a standalone program that loads and runs the dynamic linker.
6 * This program itself must be linked statically. To keep it small, it's 6 * This program itself must be linked statically. To keep it small, it's
7 * written to avoid all dependencies on libc and standard startup code. 7 * written to avoid all dependencies on libc and standard startup code.
8 * Hence, this should be linked using -nostartfiles. It must be compiled 8 * Hence, this should be linked using -nostartfiles. It must be compiled
9 * with -fno-stack-protector to ensure the compiler won't emit code that 9 * with -fno-stack-protector to ensure the compiler won't emit code that
10 * presumes some special setup has been done. 10 * presumes some special setup has been done.
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 "mov r4, sp\n" /* Save starting SP in r4. */ 566 "mov r4, sp\n" /* Save starting SP in r4. */
567 "mov r0, sp\n" /* Argument: stack block. */ 567 "mov r0, sp\n" /* Argument: stack block. */
568 "bl do_load\n" 568 "bl do_load\n"
569 "mov sp, r4\n" /* Restore the saved SP. */ 569 "mov sp, r4\n" /* Restore the saved SP. */
570 "blx r0\n" /* Jump to the entry point. */ 570 "blx r0\n" /* Jump to the entry point. */
571 ".popsection" 571 ".popsection"
572 ); 572 );
573 #else 573 #else
574 # error "Need stack-preserving _start code for this architecture!" 574 # error "Need stack-preserving _start code for this architecture!"
575 #endif 575 #endif
OLDNEW
« no previous file with comments | « chrome/nacl.gypi ('k') | chrome/nacl/nacl_helper_bootstrap_linux.x » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698