diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/subsegs.c | 2 | ||||
-rw-r--r-- | gas/symbols.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 86b4627..a97948e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/subsegs.c b/gas/subsegs.c index c815953..99d2a8b 100644 --- a/gas/subsegs.c +++ b/gas/subsegs.c @@ -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); } } diff --git a/gas/symbols.c b/gas/symbols.c index 58d0c07..63b4d47 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -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 |