Searched refs:shdr (Results 1 – 2 of 2) sorted by relevance
93 Elf_Shdr *shdr; in do_func() local115 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()119 num_sections = _r(&shdr[0].sh_size); in do_func()123 secindex_strings = r(&shdr[0].sh_link); in do_func()125 shstrtab_sec = shdr + secindex_strings; in do_func()128 idx = r(&shdr[i].sh_name); in do_func()130 extab_sec = shdr + i; in do_func()133 if ((r(&shdr[i].sh_type) == SHT_REL || in do_func()134 r(&shdr[i].sh_type) == SHT_RELA) && in do_func()135 r(&shdr[i].sh_info) == extab_index) { in do_func()[all …]
376 Elf_Shdr const *const shdr = &shdr0[w(relhdr->sh_info)]; in nop_mcount() local393 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()