Searched defs:shndxp (Results 1 - 4 of 4) sorted by relevance

/external/elfutils/libdwfl/
H A Ddwfl_module_getsym.c34 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp,
108 if ((shndxp != NULL || mod->e_type != ET_REL)
144 if (shndxp != NULL)
146 *shndxp = alloc ? shndx : (GElf_Word) -1;
199 GElf_Word *shndxp,
203 return __libdwfl_getsym (mod, ndx, sym, addr, shndxp, elfp, bias,
210 GElf_Sym *sym, GElf_Word *shndxp)
213 return __libdwfl_getsym (mod, ndx, sym, NULL, shndxp, NULL, NULL,
33 __libdwfl_getsym(Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, bool *resolved, bool adjust_st_value) argument
197 dwfl_module_getsym_info(Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *bias) argument
H A Dderelocate.c250 Elf32_Word *shndxp)
263 if (shndxp)
264 *shndxp = SHN_ABS;
279 if (shndxp)
280 *shndxp = elf_ndxscn (sections->refs[idx].scn);
249 dwfl_module_relocation_info(Dwfl_Module *mod, unsigned int idx, Elf32_Word *shndxp) argument
H A Ddwfl_module_addrsym.c238 GElf_Sym *_closest_sym, GElf_Word *shndxp,
300 if (shndxp != NULL)
301 *shndxp = state.closest_shndx;
312 GElf_Sym *closest_sym, GElf_Word *shndxp)
315 return __libdwfl_addrsym (mod, addr, &off, closest_sym, shndxp,
323 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *bias)
325 return __libdwfl_addrsym (mod, address, offset, sym, shndxp, elfp, bias,
237 __libdwfl_addrsym(Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, GElf_Sym *_closest_sym, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, bool _adjust_st_value) argument
311 dwfl_module_addrsym(Dwfl_Module *mod, GElf_Addr addr, GElf_Sym *closest_sym, GElf_Word *shndxp) argument
/external/elfutils/tests/
H A Ddwflsyms.c123 GElf_Word shndxp; local
126 const char *name = dwfl_module_getsym (mod, ndx, &sym, &shndxp);
136 name = dwfl_module_getsym_info (mod, ndx, &isym, &value, &shndxp,
151 if (GELF_ST_TYPE (sym.st_info) == STT_FUNC && shndxp != SHN_UNDEF)
154 assert (addr_in_section (elf, shndxp, sym.st_value - bias));
179 if (shndxp < SHN_LORESERVE)
181 elf_section_name (elf, shndxp));

Completed in 1390 milliseconds