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