Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/boot/
Delf.h69 Elf32_Half e_shstrndx; member
86 Elf64_Half e_shstrndx; member
/Linux-v5.4/include/uapi/linux/
Delf.h218 Elf32_Half e_shstrndx; member
235 Elf64_Half e_shstrndx; member
/Linux-v5.4/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-v5.4/arch/powerpc/kernel/
Dmodule.c27 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
Dvdso.c241 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section32()
346 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section64()
/Linux-v5.4/tools/testing/selftests/proc/
Dproc-pid-vm.c92 uint16_t e_shstrndx; member
182 h.e_shstrndx = 0; in make_exe()
/Linux-v5.4/arch/arm/kernel/
Dmodule.c331 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
348 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvdso.c118 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/Linux-v5.4/arch/sparc/vdso/
Dvma.c76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64()
144 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section32()
/Linux-v5.4/kernel/
Dkexec_elf.c158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
/Linux-v5.4/lib/
Dbug.c99 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/Linux-v5.4/arch/mips/vdso/
Dgenvdso.h19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
/Linux-v5.4/arch/sparc/kernel/
Dmodule.c188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso2c.h70 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_elf_loader.c214 name_table = elf_data + shdr[ehdr->e_shstrndx].sh_offset;
/Linux-v5.4/scripts/
Dsortextable.h121 secindex_strings = r2(&ehdr->e_shstrndx); in do_func()
/Linux-v5.4/arch/x86/kernel/
Dmodule.c226 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v5.4/arch/x86/tools/
Drelocs.c369 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
372 shstrndx = ehdr.e_shstrndx; in read_ehdr()
/Linux-v5.4/arch/mips/boot/
Delf2ecoff.c183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
/Linux-v5.4/arch/arm64/kernel/
Dmodule.c478 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v5.4/tools/perf/util/
Dgenelf.c287 ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */ in jit_write_elf()
Dsymbol-elf.c214 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name()
221 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
1021 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym()
1386 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
/Linux-v5.4/arch/mips/kernel/
Dmodule.c435 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v5.4/sound/pci/mixart/
Dmixart_hwdep.c75 __be16 e_shstrndx; member
/Linux-v5.4/fs/
Dbinfmt_elf_fdpic.c1311 elf->e_shstrndx = 0; in fill_elf_fdpic_header()
1480 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()
1486 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()

12