Lines Matching refs:reloc_info
82 if (likely (mod->reloc_info != NULL)) in cache_sections()
83 return mod->reloc_info->count; in cache_sections()
168 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
169 if (unlikely (mod->reloc_info == NULL)) in cache_sections()
182 mod->reloc_info->count = nrefs; in cache_sections()
185 mod->reloc_info->refs[i].name = sortrefs[i]->name; in cache_sections()
186 mod->reloc_info->refs[i].scn = sortrefs[i]->scn; in cache_sections()
187 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections()
188 mod->reloc_info->refs[i].start = sortrefs[i]->start; in cache_sections()
189 mod->reloc_info->refs[i].end = sortrefs[i]->end; in cache_sections()
215 if (mod->reloc_info->refs[i].scn == tscn) in cache_sections()
217 mod->reloc_info->refs[i].relocs = scn; in cache_sections()
284 struct dwfl_relocation *sections = mod->reloc_info; in dwfl_module_relocation_info()
336 struct dwfl_relocation *sections = mod->reloc_info; in find_section()
374 return elf_ndxscn (mod->reloc_info->refs[idx].scn); in __libdwfl_find_section_ndx()
414 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF()
418 Elf_Scn *tscn = mod->reloc_info->refs[idx].scn; in INTDEF()
419 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF()
423 mod->reloc_info->refs[idx].relocs = NULL; in INTDEF()
432 return mod->reloc_info->refs[idx].scn; in INTDEF()