Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/boot/
Delf.h68 Elf32_Half e_shstrndx; member
85 Elf64_Half e_shstrndx; member
/linux-4.1.27/arch/powerpc/kernel/
Dmodule.c39 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
Dvdso.c304 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section32()
395 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section64()
Dfadump.c787 elf->e_shstrndx = 0; in fadump_init_elfcore_header()
/linux-4.1.27/include/uapi/linux/
Delf.h217 Elf32_Half e_shstrndx; member
234 Elf64_Half e_shstrndx; member
/linux-4.1.27/arch/arm/kernel/
Dmodule.c281 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
298 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvdso.c108 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/linux-4.1.27/lib/
Dbug.c95 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/linux-4.1.27/arch/x86/tools/
Drelocs.c241 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
364 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
384 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()
/linux-4.1.27/arch/sparc/kernel/
Dmodule.c187 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/linux-4.1.27/arch/x86/kernel/
Dmodule.c216 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dmachine_kexec_64.c443 shstrtab = (char *)sechdrs[ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h63 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_elf_loader.c222 name_table = elf_data + shdr[ehdr->e_shstrndx].sh_offset;
/linux-4.1.27/arch/mips/kernel/
Dmodule.c275 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvpe.c613 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in vpe_elfload()
/linux-4.1.27/scripts/
Dsortextable.h123 secindex_strings = r2(&ehdr->e_shstrndx); in do_func()
Drecordmcount.h508 Elf_Shdr *const shstr = &shdr0[w2(ehdr->e_shstrndx)]; in do_func()
/linux-4.1.27/arch/blackfin/kernel/
Dmodule.c241 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/linux-4.1.27/samples/bpf/
Dbpf_load.c149 *shname = elf_strptr(elf, ehdr->e_shstrndx, shdr->sh_name); in get_sec()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c181 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
/linux-4.1.27/tools/perf/util/
Dsymbol-elf.c179 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name()
186 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
842 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym()
1305 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
/linux-4.1.27/arch/arm64/kernel/
Dmodule.c407 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/linux-4.1.27/scripts/mod/
Dmodpost.c450 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
472 if (hdr->e_shstrndx == SHN_XINDEX) { in parse_elf()
476 info->secindex_strings = hdr->e_shstrndx; in parse_elf()
/linux-4.1.27/sound/pci/mixart/
Dmixart_hwdep.c88 u16 e_shstrndx; member
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c1295 elf->e_shstrndx = 0; in fill_elf_fdpic_header()
1464 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()
1470 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
Dbinfmt_elf.c2097 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()
2103 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
/linux-4.1.27/fs/proc/
Dkcore.c351 elf->e_shstrndx = 0; in elf_kcore_store_hdr()
/linux-4.1.27/arch/sh/kernel/
Ddwarf.c1098 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize()
/linux-4.1.27/kernel/
Dmodule.c2666 + info->sechdrs[info->hdr->e_shstrndx].sh_offset; in setup_load_info()