Fix autoconf breakage + commit target.c, omitted in previous delta
[deliverable/binutils-gdb.git] / bfd / elf32-hppa.c
index c7f60a7dd7ee2d9e5ce0e877f2295b9c82b20128..06b60200dcd674f60549601407880013bb0cee7f 100644 (file)
@@ -3089,7 +3089,7 @@ elf32_hppa_set_gp (abfd, info)
        }
     }
 
-  if (sec != NULL)
+  if (sec != NULL && sec->output_section != NULL)
     gp_val += sec->output_section->vma + sec->output_offset;
 
   elf_gp (abfd) = gp_val;
This page took 0.041554 seconds and 4 git commands to generate.