diff options
author | Nick Clifton <nickc@redhat.com> | 2005-08-29 16:42:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-08-29 16:42:15 +0000 |
commit | 84c746d1a02b8b5e631e2ebe1227335b1a62a13b (patch) | |
tree | 8a73af590467b9da817ba05b03674c8e60ed5d7b | |
parent | 1a33f009ea48ddff6ba364b8a38cd2c5614e9542 (diff) | |
download | gdb-84c746d1a02b8b5e631e2ebe1227335b1a62a13b.tar.gz |
(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
warning message.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1ff27293c9a..b991a83e5f7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-08-29 Steven J. Hill <sjhill@realitydiluted.com> + + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise + 'value' to avoid compile time warning message. + 2005-08-26 Christian Groessler <chris@groessler.org> * coff-z8k.c: (r_jr, r_disp7, r_callr): Fix src_mask and dst_mask diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 389c2affa3b..28ada821c3f 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -6942,7 +6942,7 @@ _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info, for (rel = relocs; rel < relend; ++rel) { const char *name; - bfd_vma value; + bfd_vma value = 0; reloc_howto_type *howto; bfd_boolean require_jalx; /* TRUE if the relocation is a RELA relocation, rather than a |