netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* llvm-objdump...
@ 2017-04-25 17:13 David Miller
  2017-04-26  3:48 ` llvm-objdump Alexei Starovoitov
  0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2017-04-25 17:13 UTC (permalink / raw)
  To: ast; +Cc: daniel, netdev


I think there are some endianness issues ;-)

davem@patience:~/src/GIT/net-next/tools/testing/selftests/bpf$ llvm-objdump -S x.o

x.o:    file format ELF64-BPF

Disassembly of section test1:
process:
       0:       b7 00 00 00 00 00 00 02         r0 = 33554432
       1:       61 21 00 50 00 00 00 00         r1 = *(u32 *)(r2 + 20480)

That first instruction should be "r0 = 2"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-28 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 17:13 llvm-objdump David Miller
2017-04-26  3:48 ` llvm-objdump Alexei Starovoitov
2017-04-28 16:17   ` llvm-objdump David Miller
2017-04-28 16:22     ` llvm-objdump Alexei Starovoitov
2017-04-28 16:38       ` llvm-objdump David Miller
2017-04-28 17:18         ` llvm-objdump Alexei Starovoitov

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).