sim: bpf: update to new BPF relocations

This patch updates the BPF GNU sim testsuite in order to match the new
BPF relocations introduced in binutils in a recent patch [1].

[1] https://sourceware.org/pipermail/binutils/2023-March/126429.html
This commit is contained in:
Jose E. Marchesi
2023-04-26 19:22:14 +02:00
parent 17f091b31e
commit 873a1ec405

View File

@@ -6,7 +6,7 @@ mpass:
.string "pass\n"
.text
_pass:
mov %r1, mpass ; point to "pass\n" string
lddw %r1, mpass ; point to "pass\n" string
mov %r2, 5 ; strlen mpass
call 7 ; printk
mov %r0, 0 ;