Thread (11 messages) 11 messages, 3 authors, 2017-05-05

Re: [PATCH v4 binutils] Add BPF support to binutils...

From: David Miller <davem@davemloft.net>
Date: 2017-05-05 18:53:23

From: Alexei Starovoitov <redacted>
Date: Fri, 5 May 2017 11:24:19 -0700
Yonghong fixed llvm bug with big-endian dwarf [1]
and binutils worked out of the box :)

$ ./bin/clang -O2 -target bpfeb -c -g test.c
$ /w/binutils-gdb/bld/binutils/objdump -S test.o

test.o:     file format elf64-bpfbe

Disassembly of section .text:
0000000000000000 <bpf_prog1>:
int bpf_prog1(void *ign)
{
  volatile unsigned long t = 0x8983984739ull;
 ...
[1]
https://reviews.llvm.org/rL302265
Great, that's good to know!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help