[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 05 May 2017 14:53:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ast@...com
Cc: daniel@...earbox.net, netdev@...r.kernel.org,
xdp-newbies@...r.kernel.org, yhs@...com
Subject: Re: [PATCH v4 binutils] Add BPF support to binutils...
From: Alexei Starovoitov <ast@...com>
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!
Powered by blists - more mailing lists