Lines Matching refs:segment
45 This more than covers the phdrs and note segment in the average 64-bit
61 /* Return user segment index closest to ADDR but not above it.
64 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr, bool next)
69 if (dwfl->lookup_segndx[segment] >= 0)
70 ndx = dwfl->lookup_segndx[segment];
71 if (++segment >= dwfl->lookup_elts - 1)
74 while (dwfl->lookup_addr[segment] < addr);
78 while (dwfl->lookup_segndx[segment] < 0)
79 if (++segment >= dwfl->lookup_elts - 1)
81 ndx = dwfl->lookup_segndx[segment];
247 size_t segment = ndx;
249 if (segment >= dwfl->lookup_elts)
250 segment = dwfl->lookup_elts - 1;
252 while (segment > 0
253 && (dwfl->lookup_segndx[segment] > ndx
254 || dwfl->lookup_segndx[segment] == -1))
255 --segment;
257 while (dwfl->lookup_segndx[segment] < ndx)
258 if (++segment == dwfl->lookup_elts)
261 GElf_Addr start = dwfl->lookup_addr[segment];
315 return segment_read (addr_segndx (dwfl, segment, vaddr, false),
319 /* We already have this whole note segment from our initial read. */
524 /* We calculate from the p_offset of the note segment,
540 /* Trim the last segment so we don't bother with zeros
606 /* We must have seen the segment covering offset 0, or else the ELF
716 ndx = addr_segndx (dwfl, segment, module_end, true);
886 (void) segment_read (addr_segndx (dwfl, segment, vaddr, false),