Home
last modified time | relevance | path

Searched refs:shdr_idx (Results 1 – 1 of 1) sorted by relevance

/linux/tools/lib/bpf/
H A Dlibbpf.c4655 __u32 shdr_idx = sym->st_shndx; in bpf_program__record_reloc() local
4699 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { in bpf_program__record_reloc()
4700 sym_sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, shdr_idx)); in bpf_program__record_reloc()
4716 if (!shdr_idx || shdr_idx >= SHN_LORESERVE) { in bpf_program__record_reloc()
4718 prog->name, sym_name, shdr_idx); in bpf_program__record_reloc()
4739 type = bpf_object__section_to_libbpf_map_type(obj, shdr_idx); in bpf_program__record_reloc()
4740 sym_sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, shdr_idx)); in bpf_program__record_reloc()
4743 if (shdr_idx == obj->efile.arena_data_shndx) { in bpf_program__record_reloc()
4762 if (shdr_idx == obj->efile.jumptables_data_shndx) { in bpf_program__record_reloc()
4773 if (!bpf_object__shndx_is_maps(obj, shdr_idx)) { in bpf_program__record_reloc()
[all …]