From: David Miller <davem@davemloft.net>
To: ast@fb.com
Cc: daniel@iogearbox.net, netdev@vger.kernel.org,
xdp-newbies@vger.kernel.org
Subject: Re: [PATCH v4 binutils] Add BPF support to binutils...
Date: Mon, 01 May 2017 23:51:58 -0400 (EDT) [thread overview]
Message-ID: <20170501.235158.89801140704756675.davem@davemloft.net> (raw)
In-Reply-To: <33505cff-f730-ebac-c2d7-38f1793062b7@fb.com>
From: Alexei Starovoitov <ast@fb.com>
Date: Mon, 1 May 2017 20:49:21 -0700
> (gdb) x/10i bpf_prog1
> 0x0 <bpf_prog1>: ldimm64 r0, 590618314553
> 0x10 <bpf_prog1+16>: stdw [r1+-8], r10
> 0x18 <bpf_prog1+24>: lddw r10, [r1+-8]
> 0x20 <bpf_prog1+32>: add r0, -1879113726
> 0x28 <bpf_prog1+40>: lddw r1, [r0+0]
> 0x30 <bpf_prog1+48>: exit
> 0x38: Cannot access memory at address 0x38
>
> the last line also seems wrong. Off by 1 error?
Maybe, I'll look into it tomorrow. I'll also post my fix for the
branch destination disassembler output tomorrow as well.
next prev parent reply other threads:[~2017-05-02 3:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-30 16:07 [PATCH v4 binutils] Add BPF support to binutils David Miller
2017-05-01 17:22 ` Aaron Conole
2017-05-01 17:42 ` David Miller
2017-05-01 17:52 ` David Miller
2017-05-01 18:39 ` Aaron Conole
2017-05-01 18:50 ` David Miller
2017-05-02 3:49 ` Alexei Starovoitov
2017-05-02 3:51 ` David Miller [this message]
2017-05-05 19:43 ` David Miller
2017-05-05 18:24 ` Alexei Starovoitov
2017-05-05 18:53 ` David Miller
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=20170501.235158.89801140704756675.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ast@fb.com \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
--cc=xdp-newbies@vger.kernel.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 NNTP newsgroup(s).