Lines Matching refs:shndx
39 Elf32_Word shndx, GElf_Addr *value) in __libdwfl_relocate_value() argument
44 if (shndx == 0) in __libdwfl_relocate_value()
47 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value()
66 name, shndx, refshdr, in __libdwfl_relocate_value()
110 int symndx, GElf_Sym *sym, GElf_Word *shndx) in relocate_getsym() argument
176 symndx, sym, shndx) == NULL)) in relocate_getsym()
180 *shndx = sym->st_shndx; in relocate_getsym()
194 *shndx, &sym->st_value); in relocate_getsym()
205 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument
268 ndx, sym, &shndx); in resolve_symbol()
272 shndx = sym->st_shndx; in resolve_symbol()
275 if (shndx == SHN_UNDEF || shndx == SHN_COMMON in resolve_symbol()
291 if (shndx == SHN_ABS) /* XXX maybe should apply bias? */ in resolve_symbol()
306 shndx, &sym->st_value); in resolve_symbol()
355 GElf_Word shndx; in relocate() local
357 symndx, &sym, &shndx); in relocate()
361 if (shndx == SHN_UNDEF || shndx == SHN_COMMON) in relocate()
364 error = resolve_symbol (mod, reloc_symtab, &sym, shndx); in relocate()
366 && !(error == DWFL_E_RELUNDEF && shndx == SHN_COMMON)) in relocate()