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