* elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 30 Jan 2004 21:11:37 +0000 (21:11 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 30 Jan 2004 21:11:37 +0000 (21:11 +0000)
to bfd_link_hash_entry passed by reference to
_bfd_generic_link_add_one_symbol.

bfd/ChangeLog
bfd/elf32-frv.c

index 57b09bcc2efa26ff4c2571c314d88f0fd7955882..6ff4553a856ac188210c07af547c06fdff7db575 100644 (file)
@@ -1,3 +1,9 @@
+2004-01-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
+       to bfd_link_hash_entry passed by reference to
+       _bfd_generic_link_add_one_symbol.
+
 2004-01-25  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
index 016f233545d4fef29af73b03a4597d21f2ec2cd3..488438e59bc9da6521cbe72e8fd87e51c1424537 100644 (file)
@@ -3454,7 +3454,7 @@ elf32_frv_always_size_sections (bfd *output_bfd,
          || h->type != STT_OBJECT
          || !(h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR))
        {
-         struct bfd_link_hash_entry *bh;
+         struct bfd_link_hash_entry *bh = NULL;
 
          if (!(_bfd_generic_link_add_one_symbol
                (info, output_bfd, "__stacksize",