1 #target: [check_shared_lib_support]
2 #as: -march=morello+c64 --defsym C64MODE=1
3 #ld: -shared --hash-style=sysv
7 #record: INDIRECT_LOC FOO_LOCATION
9 0+([0-9a-f]{3}).*0x([0-9a-f]{3})@plt>:
11 Disassembly of section \.text:
13 #check: FOO_LOC string tolower $FOO_LOCATION
14 #check: INDIRECT_POS format %x [expr "0x$INDIRECT_LOC + 1"]
17 [ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0xFOO_LOC@plt>
18 [ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+c0, 0 <.*>
19 [ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+c0, c0, #0xINDIRECT_POS