Home
last modified time | relevance | path

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

/arch/parisc/boot/compressed/
Dmisc.c237 Elf64_Phdr *phdrs, *phdr; in parse_elf() local
240 Elf32_Phdr *phdrs, *phdr; in parse_elf()
258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
259 if (!phdrs) in parse_elf()
262 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
265 phdr = &phdrs[i]; in parse_elf()
278 free(phdrs); in parse_elf()
/arch/x86/boot/compressed/
Dmisc.c274 Elf64_Phdr *phdrs, *phdr; in parse_elf() local
277 Elf32_Phdr *phdrs, *phdr; in parse_elf()
293 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
294 if (!phdrs) in parse_elf()
297 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
300 phdr = &phdrs[i]; in parse_elf()
320 free(phdrs); in parse_elf()