aarch64 and arm testsuite fixes for targets lacking shared libs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / farcall-b-plt.d
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 #...
8
9 Disassembly of section .plt:
10
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
20
21 .* <foo@plt>:
22 .*: .* adrp x16, .* <__foo_veneer\+.*>
23 .*: .* ldr [wx]17, \[x16, #.*\]
24 .*: .* add [wx]16, [wx]16, #.*
25 .*: d61f0220 br x17
26
27 Disassembly of section .text:
28
29 .* <_start>:
30 ...
31 .*: .* b .* <__foo_veneer>
32 .*: d65f03c0 ret
33 .*: .* nop
34 .*: .* b .* <__foo_veneer\+.*>
35 .*: .* nop
36
37 .* <__foo_veneer>:
38 .*: .* adrp x16, 0 <.*>
39 .*: .* add x16, x16, #.*
40 .*: d61f0200 br x16
41 ...
This page took 0.034757 seconds and 4 git commands to generate.