diff options
| author | Andrii Nakryiko <[email protected]> | 2024-01-24 02:21:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-01-25 00:21:02 +0000 |
| commit | 05f9cdd55d61cf9c6283fd3dc0edc7cad09bd7fe (patch) | |
| tree | beee721bec04ba2a6e3e9a21adfd8183827ca4d3 /tools/lib/bpf/elf.c | |
| parent | libbpf: Further decouple feature checking logic from bpf_object (diff) | |
| download | kernel-05f9cdd55d61cf9c6283fd3dc0edc7cad09bd7fe.tar.gz kernel-05f9cdd55d61cf9c6283fd3dc0edc7cad09bd7fe.zip | |
libbpf: Move feature detection code into its own file
It's quite a lot of well isolated code, so it seems like a good
candidate to move it out of libbpf.c to reduce its size.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/elf.c')
| -rw-r--r-- | tools/lib/bpf/elf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/lib/bpf/elf.c b/tools/lib/bpf/elf.c index b02faec748a5..c92e02394159 100644 --- a/tools/lib/bpf/elf.c +++ b/tools/lib/bpf/elf.c @@ -11,8 +11,6 @@ #include "libbpf_internal.h" #include "str_error.h" -#define STRERR_BUFSIZE 128 - /* A SHT_GNU_versym section holds 16-bit words. This bit is set if * the symbol is hidden and can only be seen when referenced using an * explicit version number. This is a GNU extension. |
