Lines Matching refs:sym
221 const Elf_Sym *symtab = NULL, *sym;
260 sym = symtab + gotsym;
263 *got = sym->st_value + relocbase;
264 ++sym;
290 sym = symtab + r_symndx;
291 assert(ELF_ST_BIND(sym->st_info) == STB_LOCAL);
332 dbg("bind now/fixup at %s sym # %jd in %s --> was=%p new=%p",
349 const Elf_Sym *sym, *def;
366 sym = obj->symtab;
368 if (sym[i].st_info == ELF_ST_INFO(STB_LOCAL, STT_NOTYPE))
383 sym = obj->symtab + obj->gotsym;
389 dbg(" doing got %d sym %p (%s, %lx)", i - obj->gotsym, sym,
390 sym->st_name + obj->strtab, (u_long) *got);
393 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC &&
394 broken && sym->st_shndx == SHN_UNDEF) {
414 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC &&
415 sym->st_value != 0 && sym->st_shndx == SHN_UNDEF) {
431 *got = sym->st_value + (Elf_Addr)obj->relocbase;
437 } else if (sym->st_info == ELF_ST_INFO(STB_GLOBAL, STT_SECTION)) {
439 if (sym->st_shndx != SHN_ABS) {
440 *got = sym->st_value +
467 ++sym;
635 dbg("sym = %lu, type = %lu, offset = %p, "
699 dbg("reloc_jmpslots: sym not found");