Searched refs:sh_link (Results 1 – 8 of 8) sorted by relevance
| /tools/include/uapi/linux/ |
| A D | elf.h | 323 Elf32_Word sh_link; member 336 Elf64_Word sh_link; /* Index of another section */ member
|
| /tools/lib/bpf/ |
| A D | linker.c | 422 sec->shdr->sh_link = 0; in init_output_elf() 462 sec->shdr->sh_link = linker->strtab_sec_idx; in init_output_elf() 923 if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { in linker_sanity_check_elf_symtab() 925 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_symtab() 928 link_sec = &obj->secs[sec->shdr->sh_link]; in linker_sanity_check_elf_symtab() 998 if (sec->shdr->sh_link != obj->symtab_sec_idx) { in linker_sanity_check_elf_relos() 1183 shdr->sh_link = 0; in init_sec() 1411 int str_sec_idx = symtab->shdr->sh_link; in linker_append_elf_syms() 2230 dst_sec->shdr->sh_link = linker->symtab_sec_idx; in linker_append_elf_relos() 2293 int str_sec_idx = symtab->shdr->sh_link; in find_sym_by_name() [all …]
|
| A D | elf.c | 122 iter->strtabidx = sh.sh_link; in elf_sym_iter_new() 151 iter->verdef_strtabidx = sh.sh_link; in elf_sym_iter_new()
|
| A D | libbpf.c | 3862 obj->efile.strtabidx = sh->sh_link; in bpf_object__elf_collect() 3894 (int)sh->sh_link, (unsigned long)sh->sh_flags, in bpf_object__elf_collect()
|
| /tools/perf/util/ |
| A D | symbol-elf.c | 490 if (!scn || !rela_dyn_shdr.sh_link || !rela_dyn_shdr.sh_entsize) in get_rela_dyn_info() 496 scn = elf_getscn(elf, rela_dyn_shdr.sh_link); in get_rela_dyn_info() 497 if (!scn || !gelf_getshdr(scn, &shdr) || !shdr.sh_link) in get_rela_dyn_info() 501 di->dynstr_data = elf_getdata(elf_getscn(elf, shdr.sh_link), NULL); in get_rela_dyn_info() 689 if (!shdr_rel_plt.sh_link) in dso__synthesize_plt_symbols() 692 if (shdr_rel_plt.sh_link == ss->dynsym_idx) { in dso__synthesize_plt_symbols() 695 } else if (shdr_rel_plt.sh_link == ss->symtab_idx) { in dso__synthesize_plt_symbols() 721 scn_symstrs = elf_getscn(elf, shdr_dynsym.sh_link); in dso__synthesize_plt_symbols() 1586 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym_internal()
|
| A D | genelf.c | 335 shdr->sh_link = unwinding ? 6 : 4; /* index of .strtab section */ in jit_write_elf()
|
| /tools/bpf/resolve_btfids/ |
| A D | main.c | 402 (int) sh.sh_link, (unsigned long) sh.sh_flags, in elf_collect() 408 obj->efile.strtabidx = sh.sh_link; in elf_collect()
|
| /tools/objtool/ |
| A D | elf.c | 483 sym->name = elf_strptr(elf->elf, symtab->sh.sh_link, in read_symbols() 588 sec->sh.sh_link == symtab->idx) { in mark_group_syms() 1224 rsec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx; in elf_create_rela_section()
|
Completed in 44 milliseconds