Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dmachine_kexec_64.c430 symtabsec = &sechdrs[sechdrs[relsec].sh_link]; in arch_kexec_apply_relocations_add()
433 if (symtabsec->sh_link >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add()
436 symtabsec->sh_link); in arch_kexec_apply_relocations_add()
440 strtab = (char *)sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
/linux-4.1.27/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.1.27/include/uapi/linux/
Delf.h306 Elf32_Word sh_link; member
319 Elf64_Word sh_link; /* Index of another section */ member
/linux-4.1.27/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.1.27/arch/sparc/kernel/
Dmodule.c71 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections()
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dvma_map.c184 shdr_start + shdr.sh_link, in create_vma_map()
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h80 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
/linux-4.1.27/scripts/mod/
Dmodpost.c473 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf()
487 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf()
529 sh_link_idx = sechdrs[i].sh_link; in parse_elf()
556 if (symtab_idx != sechdrs[symtab_shndx_idx].sh_link) in parse_elf()
558 filename, sechdrs[symtab_shndx_idx].sh_link, in parse_elf()
/linux-4.1.27/arch/blackfin/kernel/
Dmodule.c247 strindex = sechdrs[i].sh_link; in module_finalize()
/linux-4.1.27/samples/bpf/
Dbpf_load.c226 shdr.sh_link, (int) shdr.sh_flags); in load_bpf_file()
/linux-4.1.27/arch/avr32/kernel/
Dmodule.c91 strings = (void *)hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
/linux-4.1.27/arch/mips/kernel/
Dvpe.c636 strindex = sechdrs[i].sh_link; in vpe_elfload()
716 strindex = sechdrs[i].sh_link; in vpe_elfload()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c212 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
/linux-4.1.27/kernel/
Dkexec.c2496 sechdrs[i].sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
2500 symtab = &sechdrs[sechdrs[i].sh_link]; in kexec_apply_relocations()
2509 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
2592 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
2595 strtab = (char *)sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
Dmodule.c2676 info->index.str = info->sechdrs[i].sh_link; in setup_load_info()
/linux-4.1.27/arch/s390/kernel/
Dmodule.c136 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
/linux-4.1.27/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()
834 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym()
/linux-4.1.27/arch/powerpc/kernel/
Dmodule_64.c387 + sechdrs[sechdrs[i].sh_link].sh_offset); in module_frob_arch_sections()
/linux-4.1.27/arch/parisc/kernel/
Dmodule.c888 int strindex = sechdrs[i].sh_link; in module_finalize()
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c1470 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
Dbinfmt_elf.c2103 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()