Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/
H A Dkexec_elf.c97 if (ehdr->e_shoff > 0 && ehdr->e_shnum > 0) { in elf_is_ehdr_sane()
107 if (ehdr->e_shoff + shdr_size < ehdr->e_shoff) { in elf_is_ehdr_sane()
110 } else if (ehdr->e_shoff + shdr_size > buf_len) { in elf_is_ehdr_sane()
164 ehdr->e_shoff = elf64_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr()
170 ehdr->e_shoff = elf32_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr()
/OK3568_Linux_fs/kernel/scripts/
H A Dinsert-sys-cert.c73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address()
141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol()
165 x = (void *)hdr + hdr->e_shoff; in get_symbol_from_table()
189 x = (void *)hdr + hdr->e_shoff; in get_symbol_table()
341 if (hdr->e_shoff > vmlinux_size) { in main()
H A Drecordmcount.h272 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
342 ehdr->e_shoff = _w(new_e_shoff); in append_func()
378 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
455 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
609 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
/OK3568_Linux_fs/yocto/poky/scripts/
H A Drelocate_sdk.py53 global e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags,\
68 e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags,\
121 f.seek(e_shoff + e_shstrndx * e_shentsize)
135 f.seek(e_shoff + i * e_shentsize)
/OK3568_Linux_fs/kernel/arch/x86/entry/vdso/
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Delf.h62 Elf32_Off e_shoff; member
79 Elf64_Off e_shoff; /* Section header table file offset */ member
/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dtrust_merger.h139 uint32_t e_shoff; member
156 uint64_t e_shoff; /* Section header table file offset */ member
/OK3568_Linux_fs/kernel/arch/mips/vdso/
H A Dgenvdso.h15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
/OK3568_Linux_fs/kernel/arch/sparc/vdso/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/tools/
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/
H A Delf.h16 return (struct elf_shdr *)((size_t)hdr + (size_t)hdr->e_shoff); in elf_sheader()
/OK3568_Linux_fs/kernel/arch/mips/boot/tools/
H A 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()
/OK3568_Linux_fs/u-boot/cmd/
H A Delf.c68 shdr = (Elf32_Shdr *)(addr + ehdr->e_shoff + in load_elf_image_shdr()
76 shdr = (Elf32_Shdr *)(addr + ehdr->e_shoff + in load_elf_image_shdr()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf.h212 Elf32_Off e_shoff; member
229 Elf64_Off e_shoff; /* Section header table file offset */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf.h211 Elf32_Off e_shoff; member
228 Elf64_Off e_shoff; /* Section header table file offset */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf.h211 Elf32_Off e_shoff; member
228 Elf64_Off e_shoff; /* Section header table file offset */ member
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_elf_fdpic.c1266 elf->e_shoff = 0; in fill_elf_fdpic_header()
1439 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
1441 elf->e_shoff = e_shoff; in fill_extnum_info()
1494 elf_addr_t e_shoff; in elf_fdpic_core_dump() local
1577 e_shoff = offset; in elf_fdpic_core_dump()
1583 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_fdpic_core_dump()
/OK3568_Linux_fs/u-boot/tools/
H A Dimg2srec.c258 getPtr = ExtractLong((uint32_t *)&elfHeader.e_shoff, getPtr); in ConvertELF()
279 fseek(file, elfHeader.e_shoff, SEEK_SET); in ConvertELF()
H A Dmips-relocs.c291 shdr32 = elf + ehdr_field(e_shoff); in main()
292 shdr64 = elf + ehdr_field(e_shoff); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dproc-pid-vm.c85 uint64_t e_shoff; member
175 h.e_shoff = 0; in make_exe()
/OK3568_Linux_fs/kernel/arch/mips/boot/
H A Delf2ecoff.c176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Delf32.h64 Elf32_Off e_shoff; /* Section header file offset. */ member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Delf32.h64 Elf32_Off e_shoff; /* Section header file offset. */ member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Delf32.h64 Elf32_Off e_shoff; /* Section header file offset. */ member

123