Home
last modified time | relevance | path

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

/arch/powerpc/boot/
Delf.h62 Elf32_Off e_shoff; member
79 Elf64_Off e_shoff; /* Section header table file offset */ member
/arch/x86/entry/vdso/
Dvdso2c.h68 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
72 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
85 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
/arch/mips/vdso/
Dgenvdso.h15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
/arch/sparc/vdso/
Dvdso2c.h66 ELF(Shdr) *sh = raw_addr + GET_BE(&hdr->e_shoff) + in BITSFUNC()
75 strtab_hdr = raw_addr + GET_BE(&hdr->e_shoff) + in BITSFUNC()
Dvma.c75 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section64()
143 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section32()
/arch/x86/tools/
Drelocs.c363 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); in read_ehdr()
392 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_ehdr()
393 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_ehdr()
419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs()
421 ehdr.e_shoff, strerror(errno)); in read_shdrs()
/arch/mips/boot/tools/
Drelocs.c229 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); in read_ehdr()
269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_shdrs()
270 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_shdrs()
/arch/mips/boot/
Delf2ecoff.c176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
/arch/arm/kernel/
Dvdso.c121 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
/arch/mips/tools/
Dloongson3-llsc-check.c286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
/arch/powerpc/oprofile/cell/
Dvma_map.c150 shdr_start = spu_elf_start + ehdr.e_shoff; in create_vma_map()
/arch/powerpc/kernel/
Dvdso.c239 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section32()
344 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section64()
Dfadump.c969 elf->e_shoff = 0; in fadump_init_elfcore_header()
/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c292 elf.sh_table = section_by_off(elf64toh(elf.ehdr->e_shoff)); in init_elf()
/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()
/arch/x86/kernel/
Dmachine_kexec_64.c440 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; in arch_kexec_apply_relocations_add()
/arch/powerpc/platforms/powernv/
Dopal-core.c368 elf->e_shoff = 0; in create_opalcore()