Initialise bitfield.
authorNick Clifton <nickc@redhat.com>
Wed, 23 Feb 2005 11:39:14 +0000 (11:39 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 23 Feb 2005 11:39:14 +0000 (11:39 +0000)
bfd/ChangeLog
bfd/elfxx-mips.c

index 585570f6357ef9ceb02e9f996f7d87050f627be3..79587e469d6a816091dfc44fac05238360ace02b 100644 (file)
@@ -1,5 +1,8 @@
 2005-02-23  Nick Clifton  <nickc@redhat.com>
 
+       * elfxx-mips.c (mips_elf_create_dynamic_relocation): Initialise
+       the relvaddr field of the Elf32_crinfo structure.
+
        * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Initialise
        variables that are passed by reference to
        m68hc11_get_relocation_value in case that function does not
index 7e0e5103dbe29d70121754b22f21ffbace702f3e..ccd1c23e5c6872a38f2aa41875792e9593a5366e 100644 (file)
@@ -3956,6 +3956,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd,
 
          cr = (scpt->contents
                + sizeof (Elf32_External_compact_rel));
+         mips_elf_set_cr_relvaddr (cptrel, 0);
          bfd_elf32_swap_crinfo_out (output_bfd, &cptrel,
                                     ((Elf32_External_crinfo *) cr
                                      + scpt->reloc_count));