• Home
  • Raw
  • Download

Lines Matching refs:refs

40   } refs[0];  member
75 struct secref *refs = NULL; in cache_sections() local
121 newref->next = refs; in cache_sections()
122 refs = newref; in cache_sections()
136 for (struct secref *sec = refs; sec != NULL; sec = sec->next) in cache_sections()
149 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
157 for (size_t i = nrefs; i-- > 0; refs = refs->next) in cache_sections()
158 sortrefs[i] = refs; in cache_sections()
159 assert (refs == NULL); in cache_sections()
166 mod->reloc_info->refs[i].name = sortrefs[i]->name; in cache_sections()
167 mod->reloc_info->refs[i].scn = sortrefs[i]->scn; in cache_sections()
168 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections()
169 mod->reloc_info->refs[i].start = sortrefs[i]->start; in cache_sections()
170 mod->reloc_info->refs[i].end = sortrefs[i]->end; in cache_sections()
193 if (mod->reloc_info->refs[i].scn == tscn) in cache_sections()
195 mod->reloc_info->refs[i].relocs = scn; in cache_sections()
260 *shndxp = elf_ndxscn (sections->refs[idx].scn); in dwfl_module_relocation_info()
262 return sections->refs[idx].name; in dwfl_module_relocation_info()
310 if (*addr < sections->refs[idx].start) in find_section()
312 else if (*addr > sections->refs[idx].end) in find_section()
319 if (*addr == sections->refs[idx].end in find_section()
321 && *addr == sections->refs[idx + 1].start) in find_section()
324 *addr -= sections->refs[idx].start; in find_section()
341 return elf_ndxscn (mod->reloc_info->refs[idx].scn); in __libdwfl_find_section_ndx()
381 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF()
385 Elf_Scn *tscn = mod->reloc_info->refs[idx].scn; in INTDEF()
386 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF()
390 mod->reloc_info->refs[idx].relocs = NULL; in INTDEF()
399 return mod->reloc_info->refs[idx].scn; in INTDEF()