Lines Matching defs:sym
117 int symndx, GElf_Sym *sym, GElf_Word *shndx)
183 symndx, sym, shndx) == NULL))
186 if (sym->st_shndx != SHN_XINDEX)
187 *shndx = sym->st_shndx;
189 switch (sym->st_shndx)
196 sym->st_value = 0; /* Value is size, not helpful. */
201 *shndx, &sym->st_value);
212 GElf_Sym *sym, GElf_Word shndx)
215 if (sym->st_name != 0)
254 if (unlikely (sym->st_name >= symtab->symstrdata->d_size))
258 name += sym->st_name;
274 sym = gelf_getsymshndx (m->symdata, m->symxndxdata,
275 ndx, sym, &shndx);
276 if (unlikely (sym == NULL))
278 if (sym->st_shndx != SHN_XINDEX)
279 shndx = sym->st_shndx;
283 || GELF_ST_BIND (sym->st_info) == STB_LOCAL
284 || sym->st_name == 0)
288 if (unlikely (sym->st_name >= m->symstrdata->d_size))
291 n += sym->st_name;
303 sym->st_value = dwfl_adjusted_st_value (m, m->symfile->elf,
304 sym->st_value);
313 shndx, &sym->st_value);
362 GElf_Sym sym;
365 symndx, &sym, &shndx);
372 error = resolve_symbol (mod, reloc_symtab, &sym, shndx);
378 value = sym.st_value;