Lines Matching defs:sym
441 GElf_Sym sym;
443 if (Plookup_by_name(P, object_name, sym_name, &sym) == 0) {
445 sym_name, (void *)(uintptr_t)sym.st_value);
446 *sym_addr = (psaddr_t)sym.st_value;
465 GElf_Sym sym;
467 if (Plookup_by_name(P, object_name, sym_name, &sym) == 0) {
468 symp->st_name = (Elf32_Word)sym.st_name;
469 symp->st_value = (Elf32_Addr)sym.st_value;
470 symp->st_size = (Elf32_Word)sym.st_size;
472 GELF_ST_BIND(sym.st_info), GELF_ST_TYPE(sym.st_info));
473 symp->st_other = sym.st_other;
474 symp->st_shndx = sym.st_shndx;