bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eliminate one warning from som.c


From: John David Anglin
Subject: Eliminate one warning from som.c
Date: Wed, 31 Oct 2001 15:06:23 -0500 (EST)

The enclosed patch eliminates one of the warnings from som.c from todays
source.  In testing on hppa1.1-hp-hpux10.20, I noticed that:

1) the gas incbin.s test FAILs (I am doubtful that it should pass),

2) the binutils tests didn't run because of some dejagnu problem.  Sorry I
   don't have more details because there was nothing in the output log as
   to why the tests didn't run.

Dave
-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-10-31  John David Anglin  <address@hidden>

        * som.c (setup_sections): Initialize subspace_sections.

--- som.c.orig  Tue Oct 30 17:11:24 2001
+++ som.c       Wed Oct 31 14:04:21 2001
@@ -1851,7 +1851,8 @@
   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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]