Lines Matching refs:mod
59 __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf, size_t *shstrndx,
80 if ((*mod->dwfl->callbacks->section_address) (MODCB_ARGS (mod),
119 the symbol table in RELOCATED itself when it has one, not MOD->symfile. */
121 relocate_getsym (Dwfl_Module *mod,
127 if (mod->symfile == NULL || mod->symfile->elf != relocated)
164 if (unlikely (mod->symfile == NULL)
165 && unlikely (INTUSE(dwfl_module_getsymtab) (mod) < 0))
172 cache->symelf = mod->symfile->elf;
173 cache->symdata = mod->symdata;
174 cache->symxndxdata = mod->symxndxdata;
175 cache->symstrdata = mod->symstrdata;
194 return __libdwfl_relocate_value (mod, cache->symelf, &cache->symshstrndx,
283 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr,
295 if (debugscn && ! ebl_debugscn_p (mod->ebl, tname))
311 Elf_Type type = ebl_reloc_simple_type (mod->ebl, rtype);
330 Dwfl_Error error = relocate_getsym (mod, relocated, reloc_symtab,
338 error = resolve_symbol (mod, reloc_symtab, &sym, shndx);
447 if (ebl_get_elfmachine (mod->ebl) == EM_NONE)
565 __libdwfl_relocate (Dwfl_Module *mod, Elf *debugfile, bool debug)
567 assert (mod->e_type == ET_REL);
599 result = relocate_section (mod, debugfile, ehdr, d_shstrndx,
610 __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated,
622 return (__libdwfl_module_getebl (mod)
623 ?: relocate_section (mod, relocated,