Lines Matching defs:sechdrs
90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
102 mod->arch.plt.shdr = sechdrs + i;
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got"))
104 mod->arch.got.shdr = sechdrs + i;
105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt"))
106 mod->arch.got_plt.shdr = sechdrs + i;
124 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset;
125 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela);
126 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info;
128 if (sechdrs[i].sh_type != SHT_RELA)