Searched refs:pht (Results 1 - 2 of 2) sorted by relevance

/external/syslinux/com32/lib/sys/module/i386/
H A Delf_module.c32 char *pht = NULL; local
48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize);
49 if (!pht)
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module);
56 cr_pht = (Elf32_Phdr*)(pht + i * elf_hdr->e_phentsize);
113 cr_pht = (Elf32_Phdr*)(pht + i * elf_hdr->e_phentsize);
185 if (pht != NULL)
186 free(pht);
/external/syslinux/com32/lib/sys/module/x86_64/
H A Delf_module.c32 char *pht = NULL; local
48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize);
49 if (!pht)
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module);
56 cr_pht = (Elf64_Phdr*)(pht + i * elf_hdr->e_phentsize);
113 cr_pht = (Elf64_Phdr*)(pht + i * elf_hdr->e_phentsize);
185 if (pht != NULL)
186 free(pht);

Completed in 4334 milliseconds