ld: add support for eBPF
[deliverable/binutils-gdb.git] / ld / testsuite / ld-bpf / jump-1.d
1 #as: --EL
2 #source: baz.s
3 #source: bar.s
4 #objdump: -dr
5 #ld: -EL
6 #warning: .*cannot find entry symbol _start.*
7 #name: jump with disp16 reloc
8
9 .*: +file format .*bpf.*
10
11 Disassembly of section .text:
12
13 [0-9a-f]+ <.*>:
14 *[0-9a-f]+: b7 01 00 00 01 00 00 00 mov %r1,1
15 *[0-9a-f]+: b7 02 00 00 02 00 00 00 mov %r2,2
16 *[0-9a-f]+: b7 03 00 00 03 00 00 00 mov %r3,3
17 *[0-9a-f]+: 05 00 01 00 00 00 00 00 ja 1
18 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
19
20 [0-9a-f]+ <bar>:
21 *[0-9a-f]+: bf 21 00 00 00 00 00 00 mov %r1,%r2
22 *[0-9a-f]+: bf 13 00 00 00 00 00 00 mov %r3,%r1
23 *[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
This page took 0.033282 seconds and 4 git commands to generate.