Commit | Line | Data |
---|---|---|
07f9ddfe JW |
1 | #name: aarch64-farcall-bl-plt |
2 | #source: farcall-bl-plt.s | |
3c3358ca | 3 | #target: [check_shared_lib_support] |
07f9ddfe JW |
4 | #as: |
5 | #ld: -shared | |
6 | #objdump: -dr | |
7 | #... | |
8 | ||
9 | Disassembly of section .plt: | |
10 | ||
a24bb4f0 | 11 | .* <.plt>: |
ad43e107 | 12 | .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]! |
87ad46af | 13 | .*: .* adrp x16, .* <__foo_veneer\+.*> |
971f1d27 JW |
14 | .*: .* ldr [wx]17, \[x16, #.*\] |
15 | .*: .* add [wx]16, [wx]16, #.* | |
07f9ddfe JW |
16 | .*: d61f0220 br x17 |
17 | .*: d503201f nop | |
18 | .*: d503201f nop | |
19 | .*: d503201f nop | |
20 | ||
21 | .* <foo@plt>: | |
87ad46af | 22 | .*: .* adrp x16, .* <__foo_veneer\+.*> |
971f1d27 JW |
23 | .*: .* ldr [wx]17, \[x16, #.*\] |
24 | .*: .* add [wx]16, [wx]16, #.* | |
07f9ddfe JW |
25 | .*: d61f0220 br x17 |
26 | ||
27 | Disassembly of section .text: | |
28 | ||
29 | .* <_start>: | |
30 | ... | |
87ad46af | 31 | .*: .* bl .* <__foo_veneer> |
07f9ddfe | 32 | .*: d65f03c0 ret |
9a2ebffd | 33 | .*: .* nop |
87ad46af | 34 | .*: .* b .* <__foo_veneer\+.*> |
9a2ebffd | 35 | .*: .* nop |
07f9ddfe JW |
36 | |
37 | .* <__foo_veneer>: | |
a24bb4f0 | 38 | .*: .* adrp x16, 0 <.*> |
87ad46af | 39 | .*: .* add x16, x16, #.* |
07f9ddfe JW |
40 | .*: d61f0200 br x16 |
41 | ... |