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