bfd/elfnn-aarch64.c: Fix miscalculation of GOTPLT offset for ifunc syms.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / ifunc-21.d
1 #source: ifunc-21.s
2 #ld: -shared -z nocombreloc
3 #objdump: -d -s -j .got.plt -j .text
4 #target: aarch64*-*-*
5
6 # Ensure the .got.plt slot used is correct
7
8 .*: file format elf64-(little|big)aarch64
9
10 Contents of section .text:
11 02a0 .*
12 Contents of section .got.plt:
13 103a8 0+ 0+ 0+ 0+ .*
14 103b8 0+ 0+ [0-9a-f]+ 0+ .*
15
16 Disassembly of section .text:
17
18 0+2a0 <ifunc>:
19 2a0: d65f03c0 ret
20
21 0+2a4 <bar>:
22 2a4: 90000080 adrp x0, 10000 <.*>
23 2a8: f941e000 ldr x0, \[x0,#960\]
24 2ac: d65f03c0 ret
25
26 Disassembly of section .got.plt:
27
28 .*:
29 .*
30 .*
31 .*
This page took 0.032891 seconds and 4 git commands to generate.