Commit | Line | Data |
---|---|---|
b8891f8d AJ |
1 | #name: GB(r28) relative .data section references |
2 | #source: data.s | |
3 | #source: data_section.s | |
4 | #ld: -e __start | |
5 | #objdump: -dr | |
6 | ||
7 | .*: file format .* | |
8 | ||
9 | ||
10 | Disassembly of section .text: | |
11 | ||
12 | [0-9a-f]+ <__start>: | |
13 | [0-9a-f]+: cd400004 lrs.b r10, \[0x4\] // the offset is based on .data | |
14 | [0-9a-f]+: cd440002 lrs.h r10, \[0x2\] // the offset is based on .data | |
15 | [0-9a-f]+: cd480001 lrs.w r10, \[0x1\] // the offset is based on .data | |
16 | [0-9a-f]+: cd700004 srs.b r11, \[0x4\] // the offset is based on .data | |
17 | [0-9a-f]+: cd740002 srs.h r11, \[0x2\] // the offset is based on .data | |
18 | [0-9a-f]+: cd780001 srs.w r11, \[0x1\] // the offset is based on .data |