Home
last modified time | relevance | path

Searched refs:sh_link (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.10/scripts/
Drecordmcount.h228 return w(shdr0->sh_link); in get_shstrndx()
309 mcsec.sh_link = 0; in append_func()
324 mcsec.sh_link = w(symsec_sh_link); in append_func()
375 unsigned const symsec_sh_link = w(relhdr->sh_link); in get_sym_str_and_relp()
377 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp()
661 symsec_sh_link = w(relhdr->sh_link); in do_func()
Dsorttable.h228 shstrndx = r(&shdr[0].sh_link); in do_sort()
Dinsert-sys-cert.c142 link = symtab->sh_link; in find_elf_symbol()
/Linux-v5.10/include/uapi/linux/
Delf.h311 Elf32_Word sh_link; member
324 Elf64_Word sh_link; /* Index of another section */ member
/Linux-v5.10/arch/mips/boot/tools/
Drelocs.c285 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
289 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()
290 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
/Linux-v5.10/arch/x86/tools/
Drelocs.c401 shstrndx = elf_word_to_cpu(shdr.sh_link); in read_ehdr()
433 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
437 if (sec->shdr.sh_link < shnum) in read_shdrs()
438 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
/Linux-v5.10/kernel/
Dkexec_file.c977 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
981 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
990 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1080 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
1083 strtab = (void *)ehdr + sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
/Linux-v5.10/arch/mips/vdso/
Dgenvdso.h101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
/Linux-v5.10/arch/sparc/vdso/
Dvdso2c.h76 GET_BE(&hdr->e_shentsize) * GET_BE(&symtab_hdr->sh_link); in BITSFUNC()
/Linux-v5.10/arch/sparc/kernel/
Dmodule.c72 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections()
/Linux-v5.10/arch/powerpc/oprofile/cell/
Dvma_map.c180 shdr_start + shdr.sh_link, in create_vma_map()
/Linux-v5.10/arch/x86/entry/vdso/
Dvdso2c.h86 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
/Linux-v5.10/tools/bpf/resolve_btfids/
Dmain.c358 (int) sh.sh_link, (unsigned long) sh.sh_flags, in elf_collect()
364 obj->efile.strtabidx = sh.sh_link; in elf_collect()
/Linux-v5.10/samples/bpf/
Dbpf_load.c550 shdr.sh_link, (int) shdr.sh_flags); in do_load_bpf_file()
571 strtabidx = shdr.sh_link; in do_load_bpf_file()
/Linux-v5.10/tools/objtool/
Delf.c384 sym->name = elf_strptr(elf->elf, symtab->sh.sh_link, in read_symbols()
780 sec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx; in elf_create_rel_reloc_section()
810 sec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx; in elf_create_rela_reloc_section()
/Linux-v5.10/scripts/mod/
Dmodpost.c549 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
563 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
605 sh_link_idx = sechdrs[i].sh_link; in parse_elf()
632 if (symtab_idx != sechdrs[symtab_shndx_idx].sh_link) in parse_elf()
634 filename, sechdrs[symtab_shndx_idx].sh_link, in parse_elf()
/Linux-v5.10/arch/mips/boot/
Delf2ecoff.c214 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
/Linux-v5.10/arch/mips/kernel/
Dvpe.c636 strindex = sechdrs[i].sh_link; in vpe_elfload()
716 strindex = sechdrs[i].sh_link; in vpe_elfload()
/Linux-v5.10/tools/perf/util/
Dgenelf.c398 shdr->sh_link = unwinding ? 6 : 4; /* index of .strtab section */ in jit_write_elf()
Dsymbol-elf.c323 if (shdr_rel_plt.sh_link != dynsym_idx) in dso__synthesize_plt_symbols()
341 scn_symstrs = elf_getscn(elf, shdr_dynsym.sh_link); in dso__synthesize_plt_symbols()
1103 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym()
/Linux-v5.10/arch/x86/kernel/
Dmachine_kexec_64.c441 strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
/Linux-v5.10/arch/powerpc/kernel/
Dmodule_64.c317 + sechdrs[sechdrs[i].sh_link].sh_offset); in module_frob_arch_sections()
/Linux-v5.10/arch/s390/kernel/
Dmodule.c139 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
/Linux-v5.10/arch/parisc/kernel/
Dmodule.c891 int strindex = sechdrs[i].sh_link; in module_finalize()
/Linux-v5.10/fs/
Dbinfmt_elf_fdpic.c1450 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()

12