| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The Native Client Authors. All rights reserved. | 2 * Copyright 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "native_client/src/trusted/service_runtime/nacl_config.h" | 7 #include "native_client/src/trusted/service_runtime/nacl_config.h" |
| 8 | 8 |
| 9 .text | 9 .text |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 /* | 35 /* |
| 36 * We don't actually load $t9 with zero, but we patch it with real address | 36 * We don't actually load $t9 with zero, but we patch it with real address |
| 37 * of NaClSyscallSeg during placement of trampoline code. | 37 * of NaClSyscallSeg during placement of trampoline code. |
| 38 */ | 38 */ |
| 39 | 39 |
| 40 lui $t9, 0 | 40 lui $t9, 0 |
| 41 ori $t9, $t9, 0 | 41 ori $t9, $t9, 0 |
| 42 jalr $t5, $t9 | 42 jalr $t5, $t9 |
| 43 nop | 43 nop |
| 44 | 44 |
| 45 jr $0 /* NACL_HALT - at the start of the second block of the trampoline */ | 45 NACL_HALT |
| 46 .set reorder | 46 .set reorder |
| 47 | 47 |
| 48 DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaCl_trampoline_seg_end): | 48 DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaCl_trampoline_seg_end): |
| 49 | 49 |
| OLD | NEW |