ld/testsuite/ld-sh/sh64/sh64-1.s
raw| 1 | ! Test that all common kinds of relocs get right for simple use. |
| 2 | ! Auxiliary part. |
| 3 | .text |
| 4 | .mode SHmedia |
| 5 | .global foo |
| 6 | .global bar |
| 7 | foo: |
| 8 | pt/l xyzzy,tr3 |
| 9 | bar: |
| 10 | nop |
| 11 | |
| 12 | .data |
| 13 | .global baz |
| 14 | baz: |
| 15 | .long foobar |
| 16 | .long bar |
| 17 | .global baz2 |
| 18 | baz2: |
| 19 | .long xyzzy |
| 20 | foobar: .long baz |