bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/4] Support global variables
@ 2019-11-21  7:07 Andrii Nakryiko
  2019-11-21  7:07 ` [PATCH bpf-next 1/4] selftests/bpf: ensure no DWARF relocations for BPF object files Andrii Nakryiko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andrii Nakryiko @ 2019-11-21  7:07 UTC (permalink / raw)
  To: bpf, netdev, ast, daniel; +Cc: andrii.nakryiko, kernel-team, Andrii Nakryiko

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-21 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  7:07 [PATCH bpf-next 0/4] Support global variables Andrii Nakryiko
2019-11-21  7:07 ` [PATCH bpf-next 1/4] selftests/bpf: ensure no DWARF relocations for BPF object files Andrii Nakryiko
2019-11-21  7:07 ` [PATCH bpf-next 2/4] libbpf: refactor relocation handling Andrii Nakryiko
2019-11-21  7:07 ` [PATCH bpf-next 3/4] libbpf: fix various errors and warning reported by checkpatch.pl Andrii Nakryiko
2019-11-21  7:07 ` [PATCH bpf-next 4/4] libbpf: support initialized global variables Andrii Nakryiko
2019-11-21 17:18 ` [PATCH bpf-next 0/4] Support " Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).