Lines Matching refs:sechdrs
87 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
98 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
99 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
100 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
101 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
102 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
103 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
121 Elf64_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
122 int num_rela = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections()
123 Elf64_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
125 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()