Lines Matching defs:addr
331 find_section (Dwfl_Module *mod, Dwarf_Addr *addr)
343 if (*addr < sections->refs[idx].start)
345 else if (*addr > sections->refs[idx].end)
352 if (*addr == sections->refs[idx].end
354 && *addr == sections->refs[idx + 1].start)
357 *addr -= sections->refs[idx].start;
368 __libdwfl_find_section_ndx (Dwfl_Module *mod, Dwarf_Addr *addr)
370 int idx = find_section (mod, addr);
378 dwfl_module_relocate_address (Dwfl_Module *mod, Dwarf_Addr *addr)
386 return find_section (mod, addr);
390 *addr -= mod->low_addr;