Lines Matching refs:sym
54 GElf_Sym *sym, GElf_Word *shndxp) in dwfl_module_getsym() argument
67 sym = gelf_getsymshndx (mod->symdata, mod->symxndxdata, ndx, sym, &shndx); in dwfl_module_getsym()
68 if (unlikely (sym == NULL)) in dwfl_module_getsym()
74 if (sym->st_shndx != SHN_XINDEX) in dwfl_module_getsym()
75 shndx = sym->st_shndx; in dwfl_module_getsym()
80 && (sym->st_shndx == SHN_XINDEX in dwfl_module_getsym()
81 || (sym->st_shndx < SHN_LORESERVE && sym->st_shndx != SHN_UNDEF))) in dwfl_module_getsym()
93 switch (sym->st_shndx) in dwfl_module_getsym()
108 shndx, &sym->st_value); in dwfl_module_getsym()
117 sym->st_value = dwfl_adjusted_st_value (mod, sym->st_value); in dwfl_module_getsym()
121 if (unlikely (sym->st_name >= mod->symstrdata->d_size)) in dwfl_module_getsym()
126 return (const char *) mod->symstrdata->d_buf + sym->st_name; in dwfl_module_getsym()