| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 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 |
| 8 .global template_func_misaligned_replacement |
| 9 .global template_func_misaligned_replacement_end |
| 10 .global template_func_illegal_call_target |
| 11 .global template_func_illegal_call_target_end |
| 12 .global template_func_illegal_register_replacement |
| 13 .global template_func_illegal_register_replacement_end |
| 14 .global template_func_illegal_guard_replacement |
| 15 .global template_func_illegal_guard_replacement_end |
| 16 .global template_func_illegal_constant_replacement |
| 17 .global template_func_illegal_constant_replacement_end |
| 18 template_func_misaligned_replacement: |
| 19 template_func_illegal_call_target: |
| 20 template_func_illegal_register_replacement: |
| 21 template_func_illegal_guard_replacement: |
| 22 template_func_illegal_constant_replacement: |
| 23 /* Not implemented */ |
| 24 bkpt 0x7777 /* hlt */ |
| 25 template_func_misaligned_replacement_end: |
| 26 template_func_illegal_call_target_end: |
| 27 template_func_illegal_register_replacement_end: |
| 28 template_func_illegal_guard_replacement_end: |
| 29 template_func_illegal_constant_replacement_end: |
| 30 |
| 7 .global template_func | 31 .global template_func |
| 8 .global template_func_end | 32 .global template_func_end |
| 9 template_func: | 33 template_func: |
| 10 mov r0, #1234 & 0xff | 34 mov r0, #1234 & 0xff |
| 11 orr r0, #1234 & 0xff00 | 35 orr r0, #1234 & 0xff00 |
| 12 bic lr, lr, #0xf000000f | 36 bic lr, lr, #0xf000000f |
| 13 bx lr | 37 bx lr |
| 14 template_func_end: | 38 template_func_end: |
| 15 | 39 |
| 16 .global template_func_replacement | 40 .global template_func_replacement |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 data segment. */ | 89 data segment. */ |
| 66 .data | 90 .data |
| 67 | 91 |
| 68 | 92 |
| 69 .global invalid_code | 93 .global invalid_code |
| 70 .global invalid_code_end | 94 .global invalid_code_end |
| 71 .p2align 4 | 95 .p2align 4 |
| 72 invalid_code: | 96 invalid_code: |
| 73 bx lr | 97 bx lr |
| 74 invalid_code_end: | 98 invalid_code_end: |
| OLD | NEW |