[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121070743.1309473-1-andriin@fb.com>
Date: Wed, 20 Nov 2019 23:07:39 -0800
From: Andrii Nakryiko <andriin@...com>
To: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>, <ast@...com>,
<daniel@...earbox.net>
CC: <andrii.nakryiko@...il.com>, <kernel-team@...com>,
Andrii Nakryiko <andriin@...com>
Subject: [PATCH bpf-next 0/4] Support global variables
This patch set salvages all the non-extern-specific changes out of blocked
externs patch set ([0]). In addition to small clean ups, it also refactors
libbpf's handling of relocations and allows support for global (non-static)
variables.
[0] https://patchwork.ozlabs.org/project/netdev/list/?series=143358&state=*
Andrii Nakryiko (4):
selftests/bpf: ensure no DWARF relocations for BPF object files
libbpf: refactor relocation handling
libbpf: fix various errors and warning reported by checkpatch.pl
libbpf: support initialized global variables
tools/lib/bpf/libbpf.c | 292 ++++++++++--------
tools/testing/selftests/bpf/Makefile | 2 +-
.../bpf/progs/test_core_reloc_arrays.c | 4 +-
.../progs/test_core_reloc_bitfields_direct.c | 4 +-
.../progs/test_core_reloc_bitfields_probed.c | 4 +-
.../bpf/progs/test_core_reloc_existence.c | 4 +-
.../bpf/progs/test_core_reloc_flavors.c | 4 +-
.../bpf/progs/test_core_reloc_ints.c | 4 +-
.../bpf/progs/test_core_reloc_kernel.c | 4 +-
.../bpf/progs/test_core_reloc_misc.c | 4 +-
.../bpf/progs/test_core_reloc_mods.c | 4 +-
.../bpf/progs/test_core_reloc_nesting.c | 4 +-
.../bpf/progs/test_core_reloc_primitives.c | 4 +-
.../bpf/progs/test_core_reloc_ptr_as_arr.c | 4 +-
.../bpf/progs/test_core_reloc_size.c | 4 +-
15 files changed, 185 insertions(+), 161 deletions(-)
--
2.17.1
Powered by blists - more mailing lists