Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Dkexec_elf_64.c349 struct elf_shdr *buf_shdr; in elf_read_shdr() local
351 sbuf = buf + ehdr->e_shoff + idx * sizeof(*buf_shdr); in elf_read_shdr()
352 buf_shdr = (struct elf_shdr *) sbuf; in elf_read_shdr()
354 shdr->sh_name = elf32_to_cpu(ehdr, buf_shdr->sh_name); in elf_read_shdr()
355 shdr->sh_type = elf32_to_cpu(ehdr, buf_shdr->sh_type); in elf_read_shdr()
356 shdr->sh_addr = elf_addr_to_cpu(ehdr, buf_shdr->sh_addr); in elf_read_shdr()
357 shdr->sh_offset = elf_addr_to_cpu(ehdr, buf_shdr->sh_offset); in elf_read_shdr()
358 shdr->sh_link = elf32_to_cpu(ehdr, buf_shdr->sh_link); in elf_read_shdr()
359 shdr->sh_info = elf32_to_cpu(ehdr, buf_shdr->sh_info); in elf_read_shdr()
365 shdr->sh_flags = elf_addr_to_cpu(ehdr, buf_shdr->sh_flags); in elf_read_shdr()
[all …]