Re: [PATCH 4/4] strip: Add --reloc-debug-sections-only option.

2018-11-09 Thread Mark Wielaard
On Tue, Nov 06, 2018 at 03:21:24PM +0100, Mark Wielaard wrote: > The buildbot didn't sent any failure emails (I am still looking into > why), but this new cmp test failed on debian-armhf, fedora-ppc64 and > fedora-ppc64le: > https://builder.wildebeest.org/buildbot/#/builders/15/builds/81 > https://

[PATCH] strip: Also handle gnu compressed debug sections with --reloc-debug-sections

2018-11-09 Thread Mark Wielaard
Check whether a section was gnu compressed and decompress it first before trying to resolve relocations. Recompress it afterwards. This found a bug in elf_compress_gnu which would use the "raw" file contents even if the user had just created the section (copying over the section from the original

Re: [PATCH] Also find CFI in sections of type SHT_X86_64_UNWIND

2018-11-09 Thread Mark Wielaard
On Wed, Nov 07, 2018 at 10:02:54AM +0100, Milian Wolff wrote: > On Dienstag, 6. November 2018 12:06:57 CET Mark Wielaard wrote: > > It seems to only happen with a specific combination of gcc and the gold > > linker, I could only generate the SHT_X86_64_UNWIND sections only on > > fedora 29 with gcc

Re: [PATCH] libdwelf: New function dwelf_elf_begin.

2018-11-09 Thread Mark Wielaard
On Sun, Nov 04, 2018 at 05:37:42PM +0100, Mark Wielaard wrote: > On Mon, 2018-10-22 at 01:47 +0200, Mark Wielaard wrote: > > It currently wraps __libdw_open_file which makes error handling > > slight tricky and needs duplicating the file handle. > > Which introduced some confusion that could cause

Re: [PATCH] libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE

2018-11-09 Thread Mark Wielaard
On Sun, Nov 04, 2018 at 09:40:32PM +0100, Mark Wielaard wrote: > Linux kernel 4.13 introduced 4 more jump class variants. > > commit 92b31a9af73b3a3fc801899335d6c47966351830 > Author: Daniel Borkmann > Date: Thu Aug 10 01:39:55 2017 +0200 > > bpf: add BPF_J{LT,LE,SLT,SLE} instruction