Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / farcall-b-plt.d
blob90dc243b68b998c77c3e7c8fb26cec38483e560c
1 #name: aarch64-farcall-b-plt
2 #source: farcall-b-plt.s
3 #target: [check_shared_lib_support]
4 #as:
5 #ld: -shared
6 #objdump: -dr
7 #...
9 Disassembly of section .plt:
11 .* <.plt>:
12 .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
13 .*: .* adrp x16, .* <__foo_veneer\+.*>
14 .*: .* ldr [wx]17, \[x16, #.*\]
15 .*: .* add [wx]16, [wx]16, #.*
16 .*: d61f0220 br x17
17 .*: d503201f nop
18 .*: d503201f nop
19 .*: d503201f nop
21 .* <foo@plt>:
22 .*: .* adrp x16, .* <__foo_veneer\+.*>
23 .*: .* ldr [wx]17, \[x16, #.*\]
24 .*: .* add [wx]16, [wx]16, #.*
25 .*: d61f0220 br x17
27 Disassembly of section .text:
29 .* <_start>:
30 ...
31 .*: .* b .* <__foo_veneer>
32 .*: d65f03c0 ret
33 .*: .* nop
34 .*: .* b .* <__foo_veneer\+.*>
35 .*: .* nop
37 .* <__foo_veneer>:
38 .*: .* adrp x16, 0 <.*>
39 .*: .* add x16, x16, #.*
40 .*: d61f0200 br x16
41 ...