Re: [PATCH v2] backends,bpf: add proper relocation support

2018-06-21 Thread Mark Wielaard
On Thu, Jun 21, 2018 at 01:24:41PM -0700, Yonghong Song wrote: > Don't know you release schedule, but could you cut a release > soon so this can be picked up by dist/pahole? I'll push a new 0.173 release next week. We recently added DWARF5 support, but running all the new data parsers under the a

Re: [PATCH v2] backends,bpf: add proper relocation support

2018-06-21 Thread Mark Wielaard
On Wed, Jun 20, 2018 at 07:18:22AM -0700, Yonghong Song wrote: > On 6/20/18 4:41 AM, Mark Wielaard wrote: > > The patch looks perfect. And the new testcase is good. I used the > > testfile to quickly test eu-readelf --debug-dump also got the > > relocations right, and it did of course. > > > > Jus

[COMMITTED] libelf: Sync elf.h from glibc.

2018-06-21 Thread Mark Wielaard
Add NT_PPC_PKEY, R_BPF_64_64 and R_BPF_64_32. Remove R_BPF_MAP_FD. Signed-off-by: Mark Wielaard --- backends/ChangeLog | 4 backends/bpf_reloc.def | 1 - libelf/ChangeLog | 4 libelf/elf.h | 5 - 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ba