diff options
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r-- | gdb/solib-aix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c index d7062b4..d3119db 100644 --- a/gdb/solib-aix.c +++ b/gdb/solib-aix.c @@ -400,7 +400,7 @@ solib_aix_get_section_offsets (struct objfile *objfile, if (objfile->sect_index_text != -1) { struct bfd_section *sect - = objfile->sections[objfile->sect_index_text].the_bfd_section; + = objfile->sections_start[objfile->sect_index_text].the_bfd_section; offsets[objfile->sect_index_text] = info->text_addr + sect->filepos - bfd_section_vma (sect); @@ -411,7 +411,7 @@ solib_aix_get_section_offsets (struct objfile *objfile, if (objfile->sect_index_data != -1) { struct bfd_section *sect - = objfile->sections[objfile->sect_index_data].the_bfd_section; + = objfile->sections_start[objfile->sect_index_data].the_bfd_section; offsets[objfile->sect_index_data] = info->data_addr - bfd_section_vma (sect); |