summaryrefslogtreecommitdiff
path: root/gdb/solib-aix.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-17 05:28:04 +0000
committerDoug Evans <dje@google.com>2013-07-17 05:28:04 +0000
commit57e6060ea563b556bbb7d45128c508c9f2480e24 (patch)
treed6b1c3d8ff1a81e36e8319e9e53007b65a7ce9b9 /gdb/solib-aix.c
parent7245f2557231b2948462972cdc8e66365207eb35 (diff)
downloadbinutils-gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.gz
* nto-tdep.c (nto_relocate_section_addresses): Update,
target_section.bfd deleted. * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto. * s390-tdep.c (s390_load): Ditto. * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r--gdb/solib-aix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c
index efc0dc5e259..29574f273d4 100644
--- a/gdb/solib-aix.c
+++ b/gdb/solib-aix.c
@@ -390,8 +390,8 @@ static void
solib_aix_relocate_section_addresses (struct so_list *so,
struct target_section *sec)
{
- bfd *abfd = sec->bfd;
struct bfd_section *bfd_sect = sec->the_bfd_section;
+ bfd *abfd = bfd_sect->owner;
const char *section_name = bfd_section_name (abfd, bfd_sect);
struct lm_info *info = so->lm_info;