Home
last modified time | relevance | path

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

12

/Linux-v5.10/arch/powerpc/boot/
Delf.h69 Elf32_Half e_shstrndx; member
86 Elf64_Half e_shstrndx; member
/Linux-v5.10/include/uapi/linux/
Delf.h219 Elf32_Half e_shstrndx; member
236 Elf64_Half e_shstrndx; member
/Linux-v5.10/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.10/arch/powerpc/kernel/
Dmodule.c27 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
Dvdso.c240 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section32()
345 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section64()
/Linux-v5.10/drivers/remoteproc/
Dremoteproc_elf_helpers.h62 ELF_GEN_FIELD_GET_SET(hdr, e_shstrndx, u16)
/Linux-v5.10/tools/testing/selftests/proc/
Dproc-pid-vm.c92 uint16_t e_shstrndx; member
182 h.e_shstrndx = 0; in make_exe()
/Linux-v5.10/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.10/arch/arm/kernel/
Dmodule.c337 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
354 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvdso.c122 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/Linux-v5.10/kernel/
Dkexec_elf.c158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
/Linux-v5.10/lib/
Dbug.c100 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/Linux-v5.10/arch/mips/vdso/
Dgenvdso.h19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
/Linux-v5.10/arch/sparc/kernel/
Dmodule.c188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/Linux-v5.10/arch/x86/entry/vdso/
Dvdso2c.h69 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/Linux-v5.10/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.10/arch/x86/kernel/
Dmodule.c254 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v5.10/arch/mips/boot/
Delf2ecoff.c183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
/Linux-v5.10/scripts/
Drecordmcount.h225 if (ehdr->e_shstrndx != SHN_XINDEX) in get_shstrndx()
226 return w2(ehdr->e_shstrndx); in get_shstrndx()
Dsorttable.h226 shstrndx = r2(&ehdr->e_shstrndx); in do_sort()
/Linux-v5.10/tools/perf/util/
Dgenelf.c282 ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */ in jit_write_elf()
/Linux-v5.10/arch/mips/kernel/
Dmodule.c434 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/Linux-v5.10/arch/arm64/kernel/
Dmodule.c479 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/Linux-v5.10/fs/
Dbinfmt_elf_fdpic.c1273 elf->e_shstrndx = 0; in fill_elf_fdpic_header()
1444 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()
1450 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
/Linux-v5.10/scripts/mod/
Dmodpost.c527 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
548 if (hdr->e_shstrndx == SHN_XINDEX) { in parse_elf()
552 info->secindex_strings = hdr->e_shstrndx; in parse_elf()

12