* symbols.c (resolve_symbol_value): Initialise final_val.
authorBen Elliston <bje@au.ibm.com>
Wed, 12 Jun 2002 16:39:29 +0000 (16:39 +0000)
committerBen Elliston <bje@au.ibm.com>
Wed, 12 Jun 2002 16:39:29 +0000 (16:39 +0000)
* subsegs.c (subsegs_print_statistics): Cast frchp to void *.

gas/ChangeLog
gas/subsegs.c
gas/symbols.c

index 86b4627a8b9a21d16b0c091e1467a08b32e8f8b8..a97948e7ffe69c3e38f17e8ca56a24018f86f9ea 100644 (file)
@@ -1,3 +1,9 @@
+2002-06-12  Ben Elliston  <bje@redhat.com>
+
+       * symbols.c (resolve_symbol_value): Initialise final_val.
+
+       * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
+
 2002-06-11  Tom Rix  <trix@redhat.com>
 
        * config/tc-ppc.c (ppc_subseg_align): Delete.
index c8159531ef3355c11a62aff4b7b605e7f8689b35..99d2a8b866c364f54819c77458a63691ffb4ee68 100644 (file)
@@ -652,7 +652,7 @@ subsegs_print_statistics (file)
          count++;
        }
       fprintf (file, "\n");
-      fprintf (file, "\t%p %-10s\t%10d frags\n", frchp,
+      fprintf (file, "\t%p %-10s\t%10d frags\n", (void *) frchp,
               segment_name (frchp->frch_seg), count);
     }
 }
index 58d0c0793ac0c51719a001d90073f92a5951c139..63b4d47a2a459924874c983601250b53a0ed5170 100644 (file)
@@ -839,7 +839,7 @@ resolve_symbol_value (symp)
      symbolS *symp;
 {
   int resolved;
-  valueT final_val;
+  valueT final_val = 0;
   segT final_seg;
 
 #ifdef BFD_ASSEMBLER