Searched refs:ehdr (Results 1 – 4 of 4) sorted by relevance
52 Elf32_Ehdr *ehdr; local65 ehdr = (Elf32_Ehdr *)addr;68 if (!IS_ELF(*ehdr) || ehdr->e_type != ET_EXEC || class != ELFCLASS32) {93 if (ehdr->e_phnum == 0) {98 if (ehdr->e_phoff > size) {124 if (!IS_ELF(*ehdr) || ehdr->e_type != ET_EXEC || class != ELFCLASS64) {149 if (ehdr->e_phnum == 0) {175 ehdr = (Elf32_Ehdr *)addr;214 Elf64_Ehdr *ehdr; local283 return ehdr->e_entry;[all …]
326 Elf32_Ehdr *ehdr; in pru_load() local332 ehdr = (Elf32_Ehdr *)addr; in pru_load()333 phdr = (Elf32_Phdr *)(addr + ehdr->e_phoff); in pru_load()336 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { in pru_load()385 priv->bootaddr = ehdr->e_entry; in pru_load()
843 Elf32_Ehdr *ehdr; /* Elf header structure pointer */ in rproc_find_table() local851 ehdr = (Elf32_Ehdr *)(uintptr_t)addr; in rproc_find_table()852 elf_data = (u8 *)ehdr; in rproc_find_table()853 shdr = (Elf32_Shdr *)(elf_data + ehdr->e_shoff); in rproc_find_table()854 memcpy(§ionheader, &shdr[ehdr->e_shstrndx], sizeof(sectionheader)); in rproc_find_table()857 for (i = 0; i < ehdr->e_shnum; i++, shdr++) { in rproc_find_table()
482 Elf32_Ehdr *ehdr; /* Elf header structure pointer */ in ipu_load() local489 ehdr = (Elf32_Ehdr *)addr; in ipu_load()490 phdr = (Elf32_Phdr *)(addr + ehdr->e_phoff); in ipu_load()494 for (i = 0; i < ehdr->e_phnum; ++i) { in ipu_load()
Completed in 9 milliseconds