Initialize subspace_sections.

This commit is contained in:
Nick Clifton 2001-11-02 16:19:54 +00:00
parent 95f7d9f7b7
commit 21da9f89f2
2 changed files with 6 additions and 1 deletions

View 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.

View File

@ -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. */