]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/bpf/indcall-1.d
Revert "2.41 Release sources"
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / indcall-1.d
index e04b98b175b3e040bb5505b8fdbf2b119cd33e15..51103bba2a1a35b866cc76a940eea955cae37110 100644 (file)
@@ -1,5 +1,23 @@
-#as: -mxbpf --EL
-#objdump: -mxbpf -dr
+#as: -EL -misa-spec=xbpf
+#objdump: -dr -M xbpf,dec
 #source: indcall-1.s
-#dump: indcall-1.dump
 #name: BPF indirect call 1, normal syntax
+
+.*: +file format .*bpf.*
+
+Disassembly of section \.text:
+
+0000000000000000 <main>:
+   0:  b7 00 00 00 01 00 00 00         mov %r0,1
+   8:  b7 01 00 00 01 00 00 00         mov %r1,1
+  10:  b7 02 00 00 02 00 00 00         mov %r2,2
+  18:  18 06 00 00 38 00 00 00         lddw %r6,56
+  20:  00 00 00 00 00 00 00 00[    ]*
+                       18: R_BPF_64_64 .text
+  28:  8d 06 00 00 00 00 00 00         call %r6
+  30:  95 00 00 00 00 00 00 00         exit
+
+0000000000000038 <bar>:
+  38:  b7 00 00 00 00 00 00 00         mov %r0,0
+  40:  95 00 00 00 00 00 00 00         exit
+#pass