Lines Matching refs:syms
161 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() argument
188 s = syms + ELF64_R_SYM(rela[i].r_info); in count_plts()
257 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() argument
261 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt()
271 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() argument
280 if (branch_rela_needs_plt(syms, &rela[i], dstidx)) in partition_branch_plt_relas()
282 else if (branch_rela_needs_plt(syms, &rela[j], dstidx)) in partition_branch_plt_relas()
296 Elf64_Sym *syms = NULL; in module_frob_arch_sections() local
313 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
320 if (!syms) { in module_frob_arch_sections()
341 nents = partition_branch_plt_relas(syms, rels, numrels, in module_frob_arch_sections()
347 core_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()
350 init_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()