diff options
author | Doug Evans <dje@google.com> | 2013-07-17 05:28:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 05:28:04 +0000 |
commit | 57e6060ea563b556bbb7d45128c508c9f2480e24 (patch) | |
tree | d6b1c3d8ff1a81e36e8319e9e53007b65a7ce9b9 /gdb/nto-tdep.c | |
parent | 7245f2557231b2948462972cdc8e66365207eb35 (diff) | |
download | gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.zip gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.gz gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.bz2 |
* 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/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 3ed48a9..fa31f14 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -306,7 +306,7 @@ nto_relocate_section_addresses (struct so_list *so, struct target_section *sec) /* Neutrino treats the l_addr base address field in link.h as different than the base address in the System V ABI and so the offset needs to be calculated and applied to relocations. */ - Elf_Internal_Phdr *phdr = find_load_phdr (sec->bfd); + Elf_Internal_Phdr *phdr = find_load_phdr (sec->the_bfd_section->owner); unsigned vaddr = phdr ? phdr->p_vaddr : 0; sec->addr = nto_truncate_ptr (sec->addr + lm_addr (so) - vaddr); |