tools: libbpf: remove libelf-getphdrnum feature detection
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 16 Jul 2018 17:57:15 +0000 (10:57 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 16 Jul 2018 23:36:49 +0000 (16:36 -0700)
commitb4b5bffd6c19b1005d2e4c90971bf562b8b4a55b
tree33761bcb0750780918b6945e0f45e73699817aa9
parentee583014a9d8cc48cb4969f87cc02c12b966fabc
tools: libbpf: remove libelf-getphdrnum feature detection

libbpf does not depend on libelf-getphdrnum feature, don't check it.

$ git grep HAVE_ELF_GETPHDRNUM_SUPPORT
tools/perf/Makefile.config:    CFLAGS += -DHAVE_ELF_GETPHDRNUM_SUPPORT
tools/perf/util/symbol-elf.c:#ifndef HAVE_ELF_GETPHDRNUM_SUPPORT

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/Makefile