]>
Commit | Line | Data |
---|---|---|
e19e9199 SP |
1 | #target: [check_shared_lib_support] |
2 | #as: -march=morello+c64 --defsym C64MODE=1 | |
3 | #ld: -shared --hash-style=sysv | |
4 | #objdump: -dw | |
5 | #source: ifunc-2.s | |
6 | ||
49432a1d | 7 | #record: INDIRECT_LOC FOO_LOCATION |
e19e9199 | 8 | #... |
49432a1d | 9 | 0+([0-9a-f]{3}).*0x([0-9a-f]{3})@plt>: |
e19e9199 | 10 | #... |
49432a1d MM |
11 | Disassembly of section \.text: |
12 | ||
13 | #check: FOO_LOC string tolower $FOO_LOCATION | |
14 | #check: INDIRECT_POS format %x [expr "0x$INDIRECT_LOC + 1"] | |
15 | 0+FOO_LOC <foo>: | |
16 | #... | |
17 | [ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0xFOO_LOC@plt> | |
e19e9199 | 18 | [ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+c0, 0 <.*> |
49432a1d | 19 | [ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+c0, c0, #0xINDIRECT_POS |
e19e9199 | 20 | #pass |