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
167 symndx, sym, shndx) == NULL)) in relocate_getsym()
171 *shndx = sym->st_shndx; in relocate_getsym()
185 *shndx, &sym->st_value); in relocate_getsym()
196 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument
234 ndx, sym, &shndx); in resolve_symbol()
238 shndx = sym->st_shndx; in resolve_symbol()
241 if (shndx == SHN_UNDEF || shndx == SHN_COMMON in resolve_symbol()
257 if (shndx == SHN_ABS) /* XXX maybe should apply bias? */ in resolve_symbol()
272 shndx, &sym->st_value); in resolve_symbol()
380 GElf_Word shndx; in relocate_section() local
382 symndx, &sym, &shndx); in relocate_section()
386 if (shndx == SHN_UNDEF || shndx == SHN_COMMON) in relocate_section()
389 error = resolve_symbol (mod, reloc_symtab, &sym, shndx); in relocate_section()
391 && !(error == DWFL_E_RELUNDEF && shndx == SHN_COMMON)) in relocate_section()