int num_alloc_sections = 0;
for (i = 0, sect = so->abfd->sections;
int num_alloc_sections = 0;
for (i = 0, sect = so->abfd->sections;
if (!symfile_map_offsets_to_segments (so->abfd, data, li->offsets,
if (!symfile_map_offsets_to_segments (so->abfd, data, li->offsets,
warning (_("\
Could not relocate shared library \"%s\": bad offsets"), so->so_name);
/* Find the range of addresses to report for this library in
"info sharedlibrary". Report any consecutive segments
which were relocated as a single unit. */
warning (_("\
Could not relocate shared library \"%s\": bad offsets"), so->so_name);
/* Find the range of addresses to report for this library in
"info sharedlibrary". Report any consecutive segments
which were relocated as a single unit. */
for (i = 1; i < data->num_segments; i++)
{
/* If we have run out of offsets, assume all
remaining segments have the same offset. */
for (i = 1; i < data->num_segments; i++)
{
/* If we have run out of offsets, assume all
remaining segments have the same offset. */
continue;
/* If this segment does not have the same offset, do
not include it in the library's range. */
continue;
/* If this segment does not have the same offset, do
not include it in the library's range. */