From: Daniel Borkmann Date: Thu, 8 Feb 2018 23:26:18 +0000 (+0100) Subject: Merge branch 'bpf-libbpf-relo-fix-and-tests' X-Git-Tag: v4.19~1593^2~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d977ae593b2d3f9ef0df795eda93f4e6bc92b323;p=platform%2Fkernel%2Flinux-rpi3.git Merge branch 'bpf-libbpf-relo-fix-and-tests' Jesper Dangaard Brouer says: ==================== While playing with using libbpf for the Suricata project, we had issues LLVM >= 4.0.1 generating ELF files that could not be loaded with libbpf (tools/lib/bpf/). During the troubleshooting phase, I wrote a test program and improved the debugging output in libbpf. I turned this into a selftests program, and it also serves as a code example for libbpf in itself. I discovered that there are at least three ELF load issues with libbpf. I left them as TODO comments in (tools/testing/selftests/bpf) test_libbpf.sh. I've only fixed the load issue with eh_frames, and other types of relo-section that does not have exec flags. We can work on the other issues later. ==================== Signed-off-by: Daniel Borkmann --- d977ae593b2d3f9ef0df795eda93f4e6bc92b323