diff options
author | Ben Elliston <bje@au.ibm.com> | 2002-06-12 16:39:29 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2002-06-12 16:39:29 +0000 |
commit | 03e83a45aeeeeb4756a6444557ba1c06dff7c6ea (patch) | |
tree | 51b2a5a6fdb26225de51903db182008ebe02f607 /gas | |
parent | b4f96c78d90900dd74c25f02119c47f483d5237d (diff) | |
download | gdb-03e83a45aeeeeb4756a6444557ba1c06dff7c6ea.zip gdb-03e83a45aeeeeb4756a6444557ba1c06dff7c6ea.tar.gz gdb-03e83a45aeeeeb4756a6444557ba1c06dff7c6ea.tar.bz2 |
* symbols.c (resolve_symbol_value): Initialise final_val.
* subsegs.c (subsegs_print_statistics): Cast frchp to void *.
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 |