Fix build failure in solib-ia64-hpux.c
authorJoel Brobecker <brobecker@gnat.com>
Tue, 3 Sep 2013 16:59:18 +0000 (16:59 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 3 Sep 2013 16:59:18 +0000 (16:59 +0000)
The field "bfd" no longer exists in struct target_section.
Use the_bfd_section->owner instead.

gdb/ChangeLog:

        * solib-ia64-hpux.c (ia64_hpux_relocate_section_addresses):
        Replace sec->bfd by sec->the_bfd_section->owner.

gdb/ChangeLog
gdb/solib-ia64-hpux.c

index ed2acda9df1565a6dd9558c2d38ab0c9ff12ed08..06696d8e92f9067e452bd0580531529d1a2bdc18 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-ia64-hpux.c (ia64_hpux_relocate_section_addresses):
+       Replace sec->bfd by sec->the_bfd_section->owner.
+
 2013-09-03  Yao Qi  <yao@codesourcery.com>
 
        * linux-tdep.c (linux_is_uclinux): New function.  Code moved
index 98fad072e2e81476f6e8efb6d0013ba55b80bd20..ac3615e5914ed18dca59d3d0b08720e5d350d4fa 100644 (file)
@@ -336,7 +336,8 @@ ia64_hpux_relocate_section_addresses (struct so_list *so,
      bfd, whereas we would have had to open our own if we wanted to do it
      while processing the library-load event.  */
   if (so->lm_info->text_start == 0 && so->lm_info->data_start == 0)
-    ia64_hpux_find_start_vma (sec->bfd, &so->lm_info->text_start,
+    ia64_hpux_find_start_vma (sec->the_bfd_section->owner,
+                             &so->lm_info->text_start,
                              &so->lm_info->data_start);
 
   /* Determine the relocation offset based on which segment
This page took 0.028152 seconds and 4 git commands to generate.