Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-aarch64/farcall-b-plt.d

42 lines
781 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#name: aarch64-farcall-b-plt
#source: farcall-b-plt.s
#target: [check_shared_lib_support]
#as:
#ld: -shared
#objdump: -dr
#...
Disassembly of section .plt:
.* <.plt>:
.*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
.*: .* adrp x16, .* <__foo_veneer\+.*>
.*: .* ldr [wx]17, \[x16, #.*\]
.*: .* add [wx]16, [wx]16, #.*
.*: d61f0220 br x17
.*: d503201f nop
.*: d503201f nop
.*: d503201f nop
.* <foo@plt>:
.*: .* adrp x16, .* <__foo_veneer\+.*>
.*: .* ldr [wx]17, \[x16, #.*\]
.*: .* add [wx]16, [wx]16, #.*
.*: d61f0220 br x17
Disassembly of section .text:
.* <_start>:
...
.*: .* b .* <__foo_veneer>
.*: d65f03c0 ret
.*: .* nop
.*: .* b .* <__foo_veneer\+.*>
.*: .* nop
.* <__foo_veneer>:
.*: .* adrp x16, 0 <.*>
.*: .* add x16, x16, #.*
.*: d61f0200 br x16
...