/linux-master/arch/powerpc/boot/ |
H A D | elf.h | 62 Elf32_Off e_shoff; member in struct:elf32_hdr 79 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
|
/linux-master/kernel/ |
H A D | kexec_elf.c | 97 if (ehdr->e_shoff > 0 && ehdr->e_shnum > 0) { 107 if (ehdr->e_shoff + shdr_size < ehdr->e_shoff) { 110 } else if (ehdr->e_shoff + shdr_size > buf_len) { 164 ehdr->e_shoff = elf64_to_cpu(ehdr, buf_ehdr->e_shoff); 170 ehdr->e_shoff = elf32_to_cpu(ehdr, buf_ehdr->e_shoff);
|
H A D | kexec_file.c | 838 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 907 memcpy(sechdrs, (void *)pi->ehdr + pi->ehdr->e_shoff, sechdrs_size); 968 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 1085 sechdrs = (void *)ehdr + ehdr->e_shoff;
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 137 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); 165 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 166 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); 191 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 192 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno));
|
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.h | 66 ELF(Shdr) *sh = raw_addr + GET_BE(&hdr->e_shoff) + 75 strtab_hdr = raw_addr + GET_BE(&hdr->e_shoff) +
|
H A D | vma.c | 75 shdrs = (void *)e->hdr + e->hdr->e_shoff; 143 shdrs = (void *)e->hdr + e->hdr->e_shoff;
|
/linux-master/arch/mips/vdso/ |
H A D | genvdso.h | 15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); 69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff);
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 103 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + 107 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + 122 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) +
|
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 73 x = (void *)hdr + hdr->e_shoff; 141 x = (void *)hdr + hdr->e_shoff; 165 x = (void *)hdr + hdr->e_shoff; 189 x = (void *)hdr + hdr->e_shoff; 341 if (hdr->e_shoff > vmlinux_size) {
|
H A D | recordmcount.h | 272 uint_t const old_shoff = _w(ehdr->e_shoff); 342 ehdr->e_shoff = _w(new_e_shoff); 378 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) 455 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) 609 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff)
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relacheck.c | 73 shdr = (void *)ehdr + swab_elfxword(ehdr->e_shoff);
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 61 ELF_GEN_FIELD_GET_SET(hdr, e_shoff, u64)
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 229 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); 269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 270 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno));
|
/linux-master/arch/riscv/kernel/ |
H A D | alternative.c | 180 shdr = (void *)hdr + hdr->e_shoff;
|
/linux-master/include/uapi/linux/ |
H A D | elf.h | 216 Elf32_Off e_shoff; member in struct:elf32_hdr 233 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 390 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); 419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 420 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); 446 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { 448 ehdr.e_shoff, strerror(errno));
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 176 e->e_shoff = swab32(e->e_shoff); 335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff,
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 87 uint64_t e_shoff; member in struct:elf64_hdr 177 h.e_shoff = 0;
|
/linux-master/arch/mips/tools/ |
H A D | loongson3-llsc-check.c | 286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize));
|
/linux-master/arch/arm64/kernel/ |
H A D | alternative.c | 209 shdr = (void *)hdr + hdr->e_shoff;
|
/linux-master/arch/arm/kernel/ |
H A D | vdso.c | 108 sechdrs = (void *)ehdr + ehdr->e_shoff;
|
/linux-master/fs/ |
H A D | binfmt_elf_fdpic.c | 1251 elf->e_shoff = 0; 1425 elf_addr_t e_shoff, int segs) 1427 elf->e_shoff = e_shoff; 1480 elf_addr_t e_shoff; local 1558 e_shoff = offset; 1564 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); 1424 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
|
H A D | binfmt_elf.c | 1939 elf_addr_t e_shoff, int segs) 1941 elf->e_shoff = e_shoff; 1971 elf_addr_t e_shoff; local 2018 e_shoff = offset; 2024 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs); 1938 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | gen-hyprel.c | 292 elf.sh_table = section_by_off(elf64toh(elf.ehdr->e_shoff));
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 147 sections = encl->bin + ehdr->e_shoff;
|