Lines Matching refs:sym
127 int symndx, GElf_Sym *sym, GElf_Word *shndx)
184 symndx, sym, shndx) == NULL))
187 if (sym->st_shndx != SHN_XINDEX)
188 *shndx = sym->st_shndx;
190 switch (sym->st_shndx)
197 sym->st_value = 0; /* Value is size, not helpful. */
202 *shndx, &sym->st_value);
213 GElf_Sym *sym, GElf_Word shndx)
216 if (sym->st_name != 0)
229 if (unlikely (sym->st_name >= symtab->symstrdata->d_size))
233 name += sym->st_name;
249 sym = gelf_getsymshndx (m->symdata, m->symxndxdata,
250 ndx, sym, &shndx);
251 if (unlikely (sym == NULL))
253 if (sym->st_shndx != SHN_XINDEX)
254 shndx = sym->st_shndx;
258 || GELF_ST_BIND (sym->st_info) == STB_LOCAL
259 || sym->st_name == 0)
263 if (unlikely (sym->st_name >= m->symstrdata->d_size))
266 n += sym->st_name;
278 sym->st_value = dwfl_adjusted_st_value (m, sym->st_value);
287 shndx, &sym->st_value);
354 GElf_Sym sym;
357 symndx, &sym, &shndx);
364 error = resolve_symbol (mod, reloc_symtab, &sym, shndx);
370 value = sym.st_value;