Home | History | Annotate | Download | only in libdwfl

Lines Matching refs:sections

198 	 possible target sections we care about.  */
275 struct dwfl_relocation *sections = mod->reloc_info;
277 if (idx >= sections->count)
281 *shndxp = elf_ndxscn (sections->refs[idx].scn);
283 return sections->refs[idx].name;
324 struct dwfl_relocation *sections = mod->reloc_info;
326 /* The sections are sorted by address, so we can use binary search. */
327 size_t l = 0, u = sections->count;
331 if (*addr < sections->refs[idx].start)
333 else if (*addr > sections->refs[idx].end)
340 if (*addr == sections->refs[idx].end
341 && idx < sections->count
342 && *addr == sections->refs[idx + 1].start)
345 *addr -= sections->refs[idx].start;