summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-04-26 19:22:14 +0200
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-04-26 19:22:14 +0200
commit873a1ec4059a2d58899e427a996bf4c3965d93da (patch)
treebce9ee23265eac98e6370f9469591fa940fcd2e8
parent17f091b31eb2ad8a838bf3ab21201afd2eaf1636 (diff)
downloadbinutils-gdb-873a1ec4059a2d58899e427a996bf4c3965d93da.tar.gz
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
-rw-r--r--sim/testsuite/bpf/testutils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/testsuite/bpf/testutils.inc b/sim/testsuite/bpf/testutils.inc
index d3d6b17b5b6..ce5c55217e7 100644
--- a/sim/testsuite/bpf/testutils.inc
+++ b/sim/testsuite/bpf/testutils.inc
@@ -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 ;