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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alexei Starovoitov <ast@xxxxxx>
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!




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux