Lines Matching defs:ehdr
195 static int do_sort(Elf_Ehdr *ehdr,
200 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff));
226 shstrndx = r2(&ehdr->e_shstrndx);
229 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset);
231 shnum = r2(&ehdr->e_shnum);
249 relocs = (void *)ehdr + _r(&s->sh_offset);
253 symtab_shndx = (Elf32_Word *)((const char *)ehdr +
260 g_orc_ip_table = (int *)((void *)ehdr +
265 g_orc_table = (struct orc_entry *)((void *)ehdr +
312 extab_image = (void *)ehdr + _r(&extab_sec->sh_offset);
313 strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset);
314 symtab = (const Elf_Sym *)((const char *)ehdr +
330 for (sym = (void *)ehdr + _r(&symtab_sec->sh_offset);
352 sort_needed_loc = (void *)ehdr +