Lines Matching refs:ehdr
91 do_func(Elf_Ehdr *ehdr, char const *const fname, table_sort_t custom_sort) in do_func() argument
115 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()
117 num_sections = r2(&ehdr->e_shnum); in do_func()
121 secindex_strings = r2(&ehdr->e_shstrndx); in do_func()
126 secstrtab = (const char *)ehdr + _r(&shstrtab_sec->sh_offset); in do_func()
136 relocs = (void *)ehdr + _r(&shdr[i].sh_offset); in do_func()
145 (const char *)ehdr + _r(&shdr[i].sh_offset)); in do_func()
155 symtab = (const Elf_Sym *)((const char *)ehdr + in do_func()
161 strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset); in do_func()
163 extab_image = (void *)ehdr + _r(&extab_sec->sh_offset); in do_func()
179 sym = (void *)ehdr + _r(&symtab_sec->sh_offset); in do_func()
198 sort_done_location = (void *)ehdr + in do_func()
205 (unsigned long)((char *)sort_done_location - (char *)ehdr)); in do_func()