1 #source: emit-relocs-morello-2.s
2 #target: [check_shared_lib_support]
3 #as: -march=morello+c64 --defsym C64MODE=1
5 #objdump: -DR -j .text -j .data -j .got
10 Disassembly of section .text:
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]+\]
18 Disassembly of section .got:
23 .*: R_MORELLO_GLOB_DAT cap
25 Disassembly of section .data:
28 (0000000000010360|0000000000010380) <str>:
36 .*: R_AARCH64_RELATIVE \*ABS\*\+.*
39 #check: SHORTSTR string range $STRPOS end-7 end
45 .*: R_MORELLO_RELATIVE \*ABS\*