Lines Matching refs:shndx
44 Elf32_Word shndx, GElf_Addr *value) in __libdwfl_relocate_value() argument
49 if (shndx == 0) in __libdwfl_relocate_value()
52 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value()
71 name, shndx, refshdr, in __libdwfl_relocate_value()
115 int symndx, GElf_Sym *sym, GElf_Word *shndx) in relocate_getsym() argument
181 symndx, sym, shndx) == NULL)) in relocate_getsym()
185 *shndx = sym->st_shndx; in relocate_getsym()
199 *shndx, &sym->st_value); in relocate_getsym()
210 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument
273 ndx, sym, &shndx); in resolve_symbol()
277 shndx = sym->st_shndx; in resolve_symbol()
280 if (shndx == SHN_UNDEF || shndx == SHN_COMMON in resolve_symbol()
296 if (shndx == SHN_ABS) /* XXX maybe should apply bias? */ in resolve_symbol()
311 shndx, &sym->st_value); in resolve_symbol()
361 GElf_Word shndx; in relocate() local
363 symndx, &sym, &shndx); in relocate()
367 if (shndx == SHN_UNDEF || shndx == SHN_COMMON) in relocate()
370 error = resolve_symbol (mod, reloc_symtab, &sym, shndx); in relocate()
372 && !(error == DWFL_E_RELUNDEF && shndx == SHN_COMMON)) in relocate()