summaryrefslogtreecommitdiff
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
commitaddd38cd4f6fa7d1744bd3b799eb8946c0a43a79 (patch)
tree7d135ec23df8586043cfce715b4ef5ff56f28b06 /bfd/ecoff.c
parentbf8fd4f89d898c0c03ecdefc865719f44ff847b6 (diff)
downloadbinutils-redhat-addd38cd4f6fa7d1744bd3b799eb8946c0a43a79.tar.gz
* 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 eef59dc0f1..0b4262035c 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;