Re: [PATCH bpf-next 4/4] tools: remove feature-libelf-mmap feature detection

2020-08-18 Thread Andrii Nakryiko
On Tue, Aug 18, 2020 at 6:08 PM Alexei Starovoitov wrote: > > On Tue, Aug 18, 2020 at 02:59:08PM -0700, Andrii Nakryiko wrote: > > It's trivial to handle missing ELF_C_MMAP_READ support in libelf the way > > that > > objtool has solved it in > > ("774bec3fddcc objtool: Add fallback from ELF_C_REA

Re: [PATCH bpf-next 4/4] tools: remove feature-libelf-mmap feature detection

2020-08-18 Thread Alexei Starovoitov
On Tue, Aug 18, 2020 at 02:59:08PM -0700, Andrii Nakryiko wrote: > It's trivial to handle missing ELF_C_MMAP_READ support in libelf the way that > objtool has solved it in > ("774bec3fddcc objtool: Add fallback from ELF_C_READ_MMAP to ELF_C_READ"). > > So instead of having an entire feature detect