Lines Matching defs:sections
189 possible target sections we care about. */
274 struct dwfl_relocation *sections = mod->reloc_info;
276 if (idx >= sections->count)
280 *shndxp = elf_ndxscn (sections->refs[idx].scn);
282 return sections->refs[idx].name;
326 struct dwfl_relocation *sections = mod->reloc_info;
328 /* The sections are sorted by address, so we can use binary search. */
329 size_t l = 0, u = sections->count;
333 if (*addr < sections->refs[idx].start)
335 else if (*addr > sections->refs[idx].end)
342 if (*addr == sections->refs[idx].end
343 && idx + 1 < sections->count
344 && *addr == sections->refs[idx + 1].start)
347 *addr -= sections->refs[idx].start;