Lines Matching refs:syms
157 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() argument
184 s = syms + ELF64_R_SYM(rela[i].r_info); in count_plts()
253 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() argument
257 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt()
267 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() argument
276 if (branch_rela_needs_plt(syms, &rela[i], dstidx)) in partition_branch_plt_relas()
278 else if (branch_rela_needs_plt(syms, &rela[j], dstidx)) in partition_branch_plt_relas()
292 Elf64_Sym *syms = NULL; in module_frob_arch_sections() local
309 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
316 if (!syms) { in module_frob_arch_sections()
337 nents = partition_branch_plt_relas(syms, rels, numrels, in module_frob_arch_sections()
343 core_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()
346 init_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()