23 lines
558 B
D
23 lines
558 B
D
|
#as: --EL
|
||
|
#source: baz.s
|
||
|
#source: bar.s
|
||
|
#objdump: -dr
|
||
|
#ld: -EL
|
||
|
#name: jump with disp16 reloc
|
||
|
|
||
|
.*: +file format .*bpf.*
|
||
|
|
||
|
Disassembly of section .text:
|
||
|
|
||
|
[0-9a-f]+ <.*>:
|
||
|
*[0-9a-f]+: b7 01 00 00 01 00 00 00 mov %r1,1
|
||
|
*[0-9a-f]+: b7 02 00 00 02 00 00 00 mov %r2,2
|
||
|
*[0-9a-f]+: b7 03 00 00 03 00 00 00 mov %r3,3
|
||
|
*[0-9a-f]+: 05 00 01 00 00 00 00 00 ja 1
|
||
|
*[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
|
||
|
|
||
|
[0-9a-f]+ <bar>:
|
||
|
*[0-9a-f]+: bf 21 00 00 00 00 00 00 mov %r1,%r2
|
||
|
*[0-9a-f]+: bf 13 00 00 00 00 00 00 mov %r3,%r1
|
||
|
*[0-9a-f]+: 95 00 00 00 00 00 00 00 exit
|