Lines Matching refs:sechdrs
102 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
111 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
112 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
113 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
114 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
115 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections()
116 mod->arch.plt_idx.shdr = sechdrs + i; in module_frob_arch_sections()
134 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
135 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
136 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
138 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()