aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-04-21 07:49:29 +0000
committerNick Clifton <nickc@redhat.com>2007-04-21 07:49:29 +0000
commit1b0b5b1b6ae0149ec1162b95629ebd4bea6de59b (patch)
tree222ef18087f001775e5ca1e78905ee75f37f8b32 /bfd/ecoff.c
parentdb55703487ec04ac06156ab76ea068055e494dde (diff)
downloadgdb-1b0b5b1b6ae0149ec1162b95629ebd4bea6de59b.zip
gdb-1b0b5b1b6ae0149ec1162b95629ebd4bea6de59b.tar.gz
gdb-1b0b5b1b6ae0149ec1162b95629ebd4bea6de59b.tar.bz2
* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
(ecoff_link_add_archive_symbols): Likewise. * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto. * ieee.c (parse_int): Initialise x. (must_parse_int): Initialise result. (ieee_slurp_external_symbols): Initialise value.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index eef59dc..0b42620 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -3087,7 +3087,7 @@ _bfd_ecoff_write_armap (bfd *abfd,
last_elt = current;
for (i = 0; i < orl_count; i++)
{
- unsigned int hash, rehash;
+ unsigned int hash, rehash = 0;
/* Advance firstreal to the file position of this archive
element. */
@@ -3757,7 +3757,7 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
while (*pundef != NULL)
{
struct bfd_link_hash_entry *h;
- unsigned int hash, rehash;
+ unsigned int hash, rehash = 0;
unsigned int file_offset;
const char *name;
bfd *element;