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