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!