Searched defs:phdrs (Results 1 - 1 of 1) sorted by relevance

/arch/x86/boot/compressed/
H A Dmisc.c310 Elf64_Phdr *phdrs, *phdr; local
313 Elf32_Phdr *phdrs, *phdr;
329 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum);
330 if (!phdrs)
331 error("Failed to allocate space for phdrs");
333 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);
336 phdr = &phdrs[i];
354 free(phdrs);
[all...]

Completed in 91 milliseconds