]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-bpf/call-1.d
2.41 Release sources
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-bpf / call-1.d
1 #as: --EL
2 #source: foo.s
3 #source: bar.s
4 #objdump: -dr
5 #ld: -EL
6 #name: CALL with 64_32 reloc
7
8 .*: +file format .*bpf.*
9
10 Disassembly of section .text:
11
12 [0-9a-f]+ <.*>:
13 *[0-9a-f]+: b7 01 00 00 01 00 00 00 mov %r1,1
14 *[0-9a-f]+: b7 02 00 00 02 00 00 00 mov %r2,2
15 *[0-9a-f]+: b7 03 00 00 03 00 00 00 mov %r3,3
16 *[0-9a-f]+: 85 10 00 00 01 00 00 00 call 1
17 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
18
19 [0-9a-f]+ <bar>:
20 *[0-9a-f]+: bf 21 00 00 00 00 00 00 mov %r1,%r2
21 *[0-9a-f]+: bf 13 00 00 00 00 00 00 mov %r3,%r1
22 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit