Lines Matching defs:ehdr
205 Elf_Ehdr *ehdr;
218 unsigned char *start_loc = (void *)emloc->ehdr + offset;
261 static int do_sort(Elf_Ehdr *ehdr,
266 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff));
297 shstrndx = r2(&ehdr->e_shstrndx);
300 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset);
302 shnum = r2(&ehdr->e_shnum);
320 relocs = (void *)ehdr + _r(&s->sh_offset);
324 symtab_shndx = (Elf32_Word *)((const char *)ehdr +
331 mstruct.ehdr = ehdr;
342 g_orc_ip_table = (int *)((void *)ehdr +
347 g_orc_table = (struct orc_entry *)((void *)ehdr +
411 extab_image = (void *)ehdr + _r(&extab_sec->sh_offset);
412 strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset);
413 symtab = (const Elf_Sym *)((const char *)ehdr +
429 for (sym = (void *)ehdr + _r(&symtab_sec->sh_offset);
451 sort_needed_loc = (void *)ehdr +