2015-08-12 04:44:31 +08:00
|
|
|
#name: aarch64-farcall-bl-plt
|
|
|
|
#source: farcall-bl-plt.s
|
|
|
|
#as:
|
|
|
|
#ld: -shared
|
|
|
|
#objdump: -dr
|
|
|
|
#...
|
|
|
|
|
|
|
|
Disassembly of section .plt:
|
|
|
|
|
2015-08-12 20:17:50 +08:00
|
|
|
.* <foo@plt.*>:
|
2015-08-12 04:44:31 +08:00
|
|
|
.*: a9bf7bf0 stp x16, x30, \[sp,#-16\]!
|
2015-08-12 20:17:50 +08:00
|
|
|
.*: .* adrp x16, .* <__foo_veneer\+.*>
|
|
|
|
.*: .* ldr x17, \[x16,#.*\]
|
|
|
|
.*: .* add x16, x16, #.*
|
2015-08-12 04:44:31 +08:00
|
|
|
.*: d61f0220 br x17
|
|
|
|
.*: d503201f nop
|
|
|
|
.*: d503201f nop
|
|
|
|
.*: d503201f nop
|
|
|
|
|
|
|
|
.* <foo@plt>:
|
2015-08-12 20:17:50 +08:00
|
|
|
.*: .* adrp x16, .* <__foo_veneer\+.*>
|
|
|
|
.*: .* ldr x17, \[x16,#.*\]
|
|
|
|
.*: .* add x16, x16, #.*
|
2015-08-12 04:44:31 +08:00
|
|
|
.*: d61f0220 br x17
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
|
|
|
.* <_start>:
|
|
|
|
...
|
2015-08-12 20:17:50 +08:00
|
|
|
.*: .* bl .* <__foo_veneer>
|
2015-08-12 04:44:31 +08:00
|
|
|
.*: d65f03c0 ret
|
2015-08-12 20:17:50 +08:00
|
|
|
.*: .* b .* <__foo_veneer\+.*>
|
2015-08-12 04:44:31 +08:00
|
|
|
|
|
|
|
.* <__foo_veneer>:
|
2015-08-12 20:17:50 +08:00
|
|
|
.*: .* adrp x16, 0 <foo@plt.*>
|
|
|
|
.*: .* add x16, x16, #.*
|
2015-08-12 04:44:31 +08:00
|
|
|
.*: d61f0200 br x16
|
|
|
|
...
|