]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-aarch64/c64-ifunc-3a.d
Various fixes for capability IFUNCs
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / c64-ifunc-3a.d
CommitLineData
e19e9199
SP
1#source: ifunc-3.s
2#target: [check_shared_lib_support]
3#as: -march=morello+c64
4#ld: -shared --hash-style=sysv
36b60023 5#objdump: -dw --section-headers
e19e9199 6
36b60023
MM
7.*: file format .*
8
9Sections:
10Idx Name Size VMA LMA File off Algn Flags
11#record: PCC_START
12 0 \.[^ ]* *[0-9a-f]+ ([0-9a-f]+) [0-9a-f]+ [0-9a-f]+ 2\*\*[0-9] CONTENTS, ALLOC, LOAD, READONLY, DATA
13#...
14Disassembly of section \.plt:
15
16#record: INDIRECT_LOC FOO_LOCATION
17#...
180+([0-9a-f]{3}).*0x([0-9a-f]+)@plt>:
e19e9199 19#...
20b65d42
MM
20Disassembly of section \.text:
21
36b60023
MM
22#check: FOO_LOC string tolower $FOO_LOCATION
23#check: FOO_ADDR format %016x [expr "0x$PCC_START + 0x$FOO_LOCATION & ~1"]
24#check: INDIRECT_POS string tolower $INDIRECT_LOC
25FOO_ADDR <__GI_foo>:
e19e9199 26#...
36b60023 27[ \t0-9a-f]+:[ \t0-9a-f]+bl\tINDIRECT_POS <\*ABS\*\+0xFOO_LOC@plt>
e19e9199 28#pass