Commit | Line | Data |
---|---|---|
7b4ae824 JD |
1 | #source: relative-linking.s |
2 | #ld: --no-relax --defsym here=0xfe0020 --defsym=foo=0xfe0008 --defsym=bar=0xfe0010 --defsym=wiz=0xfe0040 | |
3 | #objdump: -d -r | |
4 | ||
5 | tmpdir/dump: file format elf32-s12z | |
6 | ||
7 | ||
8 | Disassembly of section .text: | |
9 | ||
10 | 00fe0000 <here>: | |
11 | fe0000: 20 80 08 bra foo | |
12 | fe0003: 02 b0 bc 80 brclr.b d0, #3, bar | |
13 | fe0007: 0d | |
14 | fe0008: 0b 85 80 38 dbne d1, wiz |