]>
Commit | Line | Data |
---|---|---|
a0b64c99 SP |
1 | #source: emit-relocs-morello-2.s |
2 | #as: -march=morello+c64 --defsym C64MODE=1 | |
3 | #ld: -shared | |
4 | #objdump: -DR -j .text -j .data -j .got | |
5 | ||
6 | .*: file format .* | |
7 | ||
8 | ||
9 | Disassembly of section .text: | |
10 | ||
11 | .* <_start>: | |
12 | .*: 90800082 adrp c2, [0-9a-f]+ <.*> | |
13 | .*: c24...42 ldr c2, \[c2, #[0-9]+\] | |
14 | .*: 826...42 ldr c2, \[x2, #[0-9]+\] | |
15 | .*: 826...42 ldr x2, \[x2, #[0-9]+\] | |
16 | ||
17 | Disassembly of section .got: | |
18 | ||
19 | .* <.got>: | |
20 | .*: [0-9a-f]+ .* | |
21 | ... | |
22 | .*: R_MORELLO_GLOB_DAT cap | |
23 | ||
24 | Disassembly of section .data: | |
25 | ||
9db78a71 MM |
26 | #record: STRPOS |
27 | (0000000000010360|0000000000010380) <str>: | |
a0b64c99 SP |
28 | .*: 6c6c6548 .* |
29 | .*: 6874206f .* | |
30 | .*: 20657265 .* | |
31 | .*: 20676962 .* | |
32 | .*: 20646162 .* | |
33 | .*: 6c726f77 .* | |
34 | .*: .* | |
35 | .*: R_AARCH64_RELATIVE \*ABS\*\+.* | |
36 | ||
37 | .* <ptr>: | |
9db78a71 MM |
38 | #check: SHORTSTR string range $STRPOS end-7 end |
39 | .*: SHORTSTR .* | |
a0b64c99 SP |
40 | ... |
41 | ||
42 | .* <cap>: | |
9db78a71 | 43 | .*: SHORTSTR .* |
a0b64c99 SP |
44 | .*: R_MORELLO_RELATIVE \*ABS\* |
45 | .*: 00000000 .* | |
b235f0e0 MM |
46 | .*: 0000001b .* |
47 | .*: 02000000 .* |