Initialize subspace_sections.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Nov 2001 16:19:54 +0000 (16:19 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Nov 2001 16:19:54 +0000 (16:19 +0000)
bfd/ChangeLog
bfd/som.c

index f521ff7cfa6ac1b150c2ee988f31e57695c03af1..ce54d18fd61277863f292c2295fb12c66922dba7 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * som.c (setup_sections): Initialize subspace_sections.
+
 2001-11-02  H.J. Lu  (hjl@gnu.org)
 
        * coffgen.c (coff_object_p): Return 0 if the header is too big.
index 39a4d5deb6e4a4800e2ddbc512c7a87a530e78ec..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.  */