]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-aarch64/c64-ifunc-2.d
Fix c64-ifunc-2 test
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / c64-ifunc-2.d
CommitLineData
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 90+([0-9a-f]{3}).*0x([0-9a-f]{3})@plt>:
e19e9199 10#...
49432a1d
MM
11Disassembly of section \.text:
12
13#check: FOO_LOC string tolower $FOO_LOCATION
14#check: INDIRECT_POS format %x [expr "0x$INDIRECT_LOC + 1"]
150+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