Lines Matching refs:syms
160 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() argument
187 s = syms + ELF64_R_SYM(rela[i].r_info); in count_plts()
256 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() argument
260 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt()
270 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() argument
279 if (branch_rela_needs_plt(syms, &rela[i], dstidx)) in partition_branch_plt_relas()
281 else if (branch_rela_needs_plt(syms, &rela[j], dstidx)) in partition_branch_plt_relas()
295 Elf64_Sym *syms = NULL; in module_frob_arch_sections() local
312 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
319 if (!syms) { in module_frob_arch_sections()
340 nents = partition_branch_plt_relas(syms, rels, numrels, in module_frob_arch_sections()
346 core_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()
349 init_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()