(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
authorNick Clifton <nickc@redhat.com>
Mon, 29 Aug 2005 16:42:15 +0000 (16:42 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 29 Aug 2005 16:42:15 +0000 (16:42 +0000)
warning message.

bfd/ChangeLog
bfd/elfxx-mips.c

index 1ff27293c9aaa053e5354dc89ccdb80b0afbdb0f..b991a83e5f7f2263fb308cf8f5aac8b889b8505e 100644 (file)
@@ -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
index 389c2affa3b6c44f6cdc79ba037456c42c012ef1..28ada821c3fae09c9db6f77071802c411486046e 100644 (file)
@@ -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
This page took 0.046857 seconds and 4 git commands to generate.