RISC-V: Hypervisor ext: drop Privileged Spec 1.9.1 implementation/tests
[binutils-gdb.git] / gas / testsuite / gas / bpf / indcall-1.d
1 #as: -mxbpf --EL
2 #objdump: -mxbpf -dr
3 #name: BPF indirect call 1
4
5 .*: +file format .*bpf.*
6
7 Disassembly of section \.text:
8
9 0000000000000000 <main>:
10 0: b7 00 00 00 01 00 00 00 mov %r0,1
11 8: b7 01 00 00 01 00 00 00 mov %r1,1
12 10: b7 02 00 00 02 00 00 00 mov %r2,2
13 18: 18 06 00 00 38 00 00 00 lddw %r6,0x38
14 20: 00 00 00 00 00 00 00 00[ ]*
15 18: R_BPF_INSN_64 .text
16 28: 8d 06 00 00 00 00 00 00 call %r6
17 30: 95 00 00 00 00 00 00 00 exit
18
19 0000000000000038 <bar>:
20 38: b7 00 00 00 00 00 00 00 mov %r0,0
21 40: 95 00 00 00 00 00 00 00 exit
22 #pass