Support global variables
Status from this message: Applied. Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests/bpf: ensure no DWARF relocations for BPF object filestools/ | +1 | 0 replies | |
| 2/4 | libbpf: refactor relocation handlingtools/ | +143 | 0 replies | |
| 3/4 | libbpf: fix various errors and warning reported by checkpatch.pltools/ | +21 | 0 replies | |
| 4/4 | libbpf: support initialized global variablestools/ tools/ tools/ +11 more | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.17.1