Lines Matching refs:ehdr
208 Elf_Ehdr *ehdr; member
221 unsigned char *start_loc = (void *)emloc->ehdr + offset; in sort_mcount_loc()
264 static int do_sort(Elf_Ehdr *ehdr, in do_sort() argument
269 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_sort()
300 shstrndx = r2(&ehdr->e_shstrndx); in do_sort()
303 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort()
305 shnum = r2(&ehdr->e_shnum); in do_sort()
323 relocs = (void *)ehdr + _r(&s->sh_offset); in do_sort()
327 symtab_shndx = (Elf32_Word *)((const char *)ehdr + in do_sort()
334 mstruct.ehdr = ehdr; in do_sort()
345 g_orc_ip_table = (int *)((void *)ehdr + in do_sort()
350 g_orc_table = (struct orc_entry *)((void *)ehdr + in do_sort()
414 extab_image = (void *)ehdr + _r(&extab_sec->sh_offset); in do_sort()
415 strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset); in do_sort()
416 symtab = (const Elf_Sym *)((const char *)ehdr + in do_sort()
432 for (sym = (void *)ehdr + _r(&symtab_sec->sh_offset); in do_sort()
454 sort_needed_loc = (void *)ehdr + in do_sort()