Lines Matching refs:sym
68 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() argument
73 return PPC64_LOCAL_ENTRY_OFFSET(sym->st_other); in local_entry_offset()
93 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() argument
495 Elf64_Sym *sym; in apply_relocate_add() local
504 sym = find_dot_toc(sechdrs, strtab, symindex); in apply_relocate_add()
507 if (sym) in apply_relocate_add()
508 sym->st_value = my_r2(sechdrs, me); in apply_relocate_add()
517 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
522 strtab + sym->st_name, (unsigned long)sym->st_value, in apply_relocate_add()
526 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
601 if (sym->st_shndx == SHN_UNDEF) { in apply_relocate_add()
609 value += local_entry_offset(sym); in apply_relocate_add()