* README: Fix a typo.
[deliverable/binutils-gdb.git] / bfd / elf32-mips.c
index 0bd473dd94b134d1e119c31ae6b4101b7d15c2ed..38b0f8b423505f168411158f79122d4a2d56333d 100644 (file)
@@ -3510,7 +3510,7 @@ _bfd_mips_elf_modify_segment_map (abfd)
        if ((*pm)->p_type == PT_DYNAMIC)
          break;
       m = *pm;
-      if (IRIX_COMPAT (abfd) == ict_none)
+      if (m != NULL && IRIX_COMPAT (abfd) == ict_none)
        {
          /* For a normal mips executable the permissions for the PT_DYNAMIC
             segment are read, write and execute. We do that here since
This page took 0.024762 seconds and 4 git commands to generate.