Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/boot/
Delf.h69 Elf32_Half e_shstrndx; member
86 Elf64_Half e_shstrndx; member
/Linux-v4.19/arch/powerpc/kernel/
Dmodule.c39 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
Dkexec_elf_64.c191 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
Dvdso.c267 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section32()
372 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section64()
/Linux-v4.19/include/uapi/linux/
Delf.h218 Elf32_Half e_shstrndx; member
235 Elf64_Half e_shstrndx; member
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
236 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
256 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()
/Linux-v4.19/arch/arm/kernel/
Dmodule.c327 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
344 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvdso.c129 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/Linux-v4.19/lib/
Dbug.c99 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/Linux-v4.19/arch/mips/vdso/
Dgenvdso.h23 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
/Linux-v4.19/arch/x86/tools/
Drelocs.c243 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
366 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
386 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()
/Linux-v4.19/arch/sparc/kernel/
Dmodule.c188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.h70 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/Linux-v4.19/arch/x86/kernel/
Dmodule.c232 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dmachine_kexec_64.c411 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
/Linux-v4.19/drivers/remoteproc/
Dremoteproc_elf_loader.c222 name_table = elf_data + shdr[ehdr->e_shstrndx].sh_offset;
/Linux-v4.19/scripts/
Dsortextable.h123 secindex_strings = r2(&ehdr->e_shstrndx); in do_func()
/Linux-v4.19/arch/mips/boot/
Delf2ecoff.c183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
/Linux-v4.19/arch/arm64/kernel/
Dmodule.c448 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v4.19/tools/perf/util/
Dgenelf.c287 ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */ in jit_write_elf()
Dsymbol-elf.c178 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name()
185 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
976 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym()
1341 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
/Linux-v4.19/arch/mips/kernel/
Dmodule.c447 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v4.19/scripts/mod/
Dmodpost.c465 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
487 if (hdr->e_shstrndx == SHN_XINDEX) { in parse_elf()
491 info->secindex_strings = hdr->e_shstrndx; in parse_elf()
/Linux-v4.19/sound/pci/mixart/
Dmixart_hwdep.c88 __be16 e_shstrndx; member
/Linux-v4.19/fs/
Dbinfmt_elf_fdpic.c1315 elf->e_shstrndx = 0; in fill_elf_fdpic_header()
1484 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()
1490 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()

12