]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-bpf/call-2.d
d00fabaa9b1dc59017f56f5ec3dc0afaee4c01f5
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-bpf / call-2.d
1 #as: --EL
2 #source: call-2.s
3 #source: bar.s
4 #objdump: -dr -M dec
5 #ld: -EL
6 #name: CALL with disp32 reloc and addend
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]+: 85 10 00 00 02 00 00 00 call 2
15 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
16
17 [0-9a-f]+ <bar>:
18 *[0-9a-f]+: bf 21 00 00 00 00 00 00 mov %r1,%r2
19 *[0-9a-f]+: bf 13 00 00 00 00 00 00 mov %r3,%r1
20 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit