Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h62 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
66 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
79 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
/linux-4.4.14/arch/powerpc/boot/
Delf.h61 Elf32_Off e_shoff; member
78 Elf64_Off e_shoff; /* Section header table file offset */ member
/linux-4.4.14/scripts/
Drecordmcount.h193 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
248 ehdr->e_shoff = _w(new_e_shoff); in append_func()
282 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
358 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
505 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
Dsortextable.h117 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()
/linux-4.4.14/arch/mips/vdso/
Dgenvdso.h21 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
124 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
/linux-4.4.14/drivers/remoteproc/
Dremoteproc_elf_loader.c79 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) {
221 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
/linux-4.4.14/include/uapi/linux/
Delf.h210 Elf32_Off e_shoff; member
227 Elf64_Off e_shoff; /* Section header table file offset */ member
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c1328 elf->e_shoff = 0; in fill_elf_fdpic_header()
1499 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
1501 elf->e_shoff = e_shoff; in fill_extnum_info()
1595 elf_addr_t e_shoff; in elf_fdpic_core_dump() local
1730 e_shoff = offset; in elf_fdpic_core_dump()
1736 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_fdpic_core_dump()
Dbinfmt_elf.c2102 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
2104 elf->e_shoff = e_shoff; in fill_extnum_info()
2137 elf_addr_t e_shoff; in elf_core_dump() local
2221 e_shoff = offset; in elf_core_dump()
2227 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_core_dump()
/linux-4.4.14/arch/x86/tools/
Drelocs.c357 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); in read_ehdr()
399 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs()
401 ehdr.e_shoff, strerror(errno)); in read_shdrs()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c174 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
333 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dvma_map.c154 shdr_start = spu_elf_start + ehdr.e_shoff; in create_vma_map()
/linux-4.4.14/kernel/
Dkexec_file.c678 sechdrs_c = (void *)pi->ehdr + pi->ehdr->e_shoff; in __kexec_load_purgatory()
920 if (pi->ehdr->e_shoff >= kexec_purgatory_size in kexec_load_purgatory()
922 kexec_purgatory_size - pi->ehdr->e_shoff)) in kexec_load_purgatory()
Dmodule.c2652 if (info->hdr->e_shoff >= info->len in elf_header_check()
2654 info->len - info->hdr->e_shoff)) in elf_header_check()
2819 info->sechdrs = (void *)info->hdr + info->hdr->e_shoff; in setup_load_info()
/linux-4.4.14/arch/arm/kernel/
Dvdso.c107 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
/linux-4.4.14/arch/powerpc/kernel/
Dvdso.c263 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section32()
368 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section64()
Dfadump.c780 elf->e_shoff = 0; in fadump_init_elfcore_header()
/linux-4.4.14/arch/mips/kernel/
Dvpe.c605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()
612 sechdrs = (void *)hdr + hdr->e_shoff; in vpe_elfload()
/linux-4.4.14/scripts/mod/
Dmodpost.c444 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf()
452 sechdrs = (void *)hdr + hdr->e_shoff; in parse_elf()
456 if (hdr->e_shoff > info->size) { in parse_elf()
458 "filesize=%lu\n", (unsigned long)hdr->e_shoff, in parse_elf()
/linux-4.4.14/sound/pci/mixart/
Dmixart_hwdep.c81 u32 e_shoff; member
/linux-4.4.14/fs/proc/
Dkcore.c344 elf->e_shoff = 0; in elf_kcore_store_hdr()
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c1003 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) { in c8sectpfe_elf_sanity_check()
/linux-4.4.14/tools/perf/util/
Dsymbol-elf.c1318 ehdr->e_shoff = 0; in kcore__copy_hdr()