* elflink.h (elf_bfd_discard_info): Fix segfault when dynobj NULL.
[deliverable/binutils-gdb.git] / bfd / som.c
index 95735f5955acb579cc72421ee29fc71093c65f23..cf4af77229ed76133f98471d53690b02e3084704 100644 (file)
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -1851,7 +1851,8 @@ setup_sections (abfd, file_hdr, current_offset)
   char *space_strings;
   unsigned int space_index, i;
   unsigned int total_subspaces = 0;
-  asection **subspace_sections, *section;
+  asection **subspace_sections = NULL;
+  asection *section;
   bfd_size_type amt;
 
   /* First, read in space names.  */
@@ -2960,7 +2961,7 @@ som_write_fixups (abfd, current_offset, total_reloc_sizep)
                  break;
 
                case R_END_TRY:
-                 /* The end of a exception handling region.  The reloc's
+                 /* The end of an exception handling region.  The reloc's
                     addend contains the offset of the exception handling
                     code.  */
                  if (bfd_reloc->addend == 0)
This page took 0.023871 seconds and 4 git commands to generate.