summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-06-17 12:26:54 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-18 00:10:40 +0200
commitdb48814bd2833ee231f48bd2030082369b88f9ef (patch)
treecca3be34591c388b5859afe0d29063591142809c /tools/arch
parentbf82927125dd25003d76ed5541da704df21de57a (diff)
libbpf: identify maps by section index in addition to offset
To support maps to be defined in multiple sections, it's important to identify map not just by offset within its section, but section index as well. This patch adds tracking of section index. For global data, we record section index of corresponding .data/.bss/.rodata ELF section for uniformity, and thus don't need a special value of offset for those maps. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions