public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Jose E. Marchesi" <jose.marchesi@oracle.com>
To: gdb-patches@sourceware.org
Subject: [COMMITED] sim: bpf: update to new BPF relocations
Date: Wed, 26 Apr 2023 19:23:10 +0200	[thread overview]
Message-ID: <87fs8mimm9.fsf@oracle.com> (raw)


    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

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          ;

                 reply	other threads:[~2023-04-26 17:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs8mimm9.fsf@oracle.com \
    --to=jose.marchesi@oracle.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).