]> Git Repo - binutils.git/blobdiff - bfd/elf64-hppa.c
* elf64-hppa.c (elf64_hppa_finish_dynamic_sections)
[binutils.git] / bfd / elf64-hppa.c
index aff87f0d1787b8a1aa80a56d3fe031fc48af1444..044ada5d39d27e229b7271c339159a539583acd8 100644 (file)
@@ -2524,6 +2524,8 @@ elf64_hppa_finish_dynamic_sections (bfd *output_bfd,
                 area at the start of the .data section.  So all we have to
                 to is find the start of the .data section.  */
              s = bfd_get_section_by_name (output_bfd, ".data");
+             if (!s)
+               return FALSE;
              dyn.d_un.d_ptr = s->vma;
              bfd_elf64_swap_dyn_out (output_bfd, &dyn, dyncon);
              break;
This page took 0.024596 seconds and 4 git commands to generate.