Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/
Dmachine_kexec_64.c432 symtabsec = &sechdrs[sechdrs[relsec].sh_link]; in arch_kexec_apply_relocations_add()
435 if (symtabsec->sh_link >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add()
438 symtabsec->sh_link); in arch_kexec_apply_relocations_add()
442 strtab = (char *)sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
/linux-4.4.14/scripts/
Drecordmcount.h225 mcsec.sh_link = 0; in append_func()
239 mcsec.sh_link = w(symsec_sh_link); in append_func()
284 unsigned const symsec_sh_link = w(relhdr->sh_link); in get_sym_str_and_relp()
286 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp()
534 &shdr0[symsec_sh_link = w(relhdr->sh_link)], in do_func()
Dsortextable.h125 secindex_strings = r(&shdr[0].sh_link); in do_func()
/linux-4.4.14/include/uapi/linux/
Delf.h306 Elf32_Word sh_link; member
319 Elf64_Word sh_link; /* Index of another section */ member
/linux-4.4.14/kernel/
Dkexec_file.c864 sechdrs[i].sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
868 symtab = &sechdrs[sechdrs[i].sh_link]; in kexec_apply_relocations()
877 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
960 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
963 strtab = (char *)sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
Dmodule.c2831 info->index.str = info->sechdrs[i].sh_link; in setup_load_info()
/linux-4.4.14/arch/x86/tools/
Drelocs.c414 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
418 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()
419 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
/linux-4.4.14/arch/mips/vdso/
Dgenvdso.h156 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c71 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dvma_map.c184 shdr_start + shdr.sh_link, in create_vma_map()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h80 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
/linux-4.4.14/scripts/mod/
Dmodpost.c474 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
488 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
530 sh_link_idx = sechdrs[i].sh_link; in parse_elf()
557 if (symtab_idx != sechdrs[symtab_shndx_idx].sh_link) in parse_elf()
559 filename, sechdrs[symtab_shndx_idx].sh_link, in parse_elf()
/linux-4.4.14/arch/blackfin/kernel/
Dmodule.c247 strindex = sechdrs[i].sh_link; in module_finalize()
/linux-4.4.14/arch/avr32/kernel/
Dmodule.c91 strings = (void *)hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
/linux-4.4.14/arch/mips/kernel/
Dvpe.c636 strindex = sechdrs[i].sh_link; in vpe_elfload()
716 strindex = sechdrs[i].sh_link; in vpe_elfload()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c212 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
/linux-4.4.14/samples/bpf/
Dbpf_load.c259 shdr.sh_link, (int) shdr.sh_flags); in load_bpf_file()
/linux-4.4.14/arch/s390/kernel/
Dmodule.c136 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
/linux-4.4.14/tools/perf/util/
Dsymbol-elf.c256 if (shdr_rel_plt.sh_link != dynsym_idx) in dso__synthesize_plt_symbols()
274 scn_symstrs = elf_getscn(elf, shdr_dynsym.sh_link); in dso__synthesize_plt_symbols()
841 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym()
/linux-4.4.14/arch/powerpc/kernel/
Dmodule_64.c387 + sechdrs[sechdrs[i].sh_link].sh_offset); in module_frob_arch_sections()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c888 int strindex = sechdrs[i].sh_link; in module_finalize()
/linux-4.4.14/tools/lib/bpf/
Dlibbpf.c534 (int)sh.sh_link, (unsigned long)sh.sh_flags, in bpf_object__elf_collect()
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c1510 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
Dbinfmt_elf.c2113 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()