ld/testsuite/ld-sh/sh64/crange-2a.s
raw| 1 | ! Simple example with assembler-generated .cranges that do not need more |
| 2 | ! .cranges added by the linker: A single section with SHmedia, constants |
| 3 | ! and SHcompact. |
| 4 | .section .text.mixed,"ax" |
| 5 | .align 2 |
| 6 | ! Make sure this symbol does not have the expected type. |
| 7 | .mode SHcompact |
| 8 | .global diversion2 |
| 9 | diversion2: |
| 10 | |
| 11 | .mode SHmedia |
| 12 | start2: |
| 13 | nop |
| 14 | nop |
| 15 | nop |
| 16 | |
| 17 | .long 42 |
| 18 | .long 43 |
| 19 | |
| 20 | .mode SHcompact |
| 21 | nop |
| 22 | nop |