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