diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2004-01-30 21:11:37 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2004-01-30 21:11:37 +0000 |
commit | ea01195e3866838abe2363ea04a9627b757c22a5 (patch) | |
tree | 68a7c88e82ee7a5d06d588cb18d0c27ce75a3eaf | |
parent | 2a68b70e968968e8f47030cdf6369f1e6fef4d57 (diff) | |
download | ppe42-binutils-ea01195e3866838abe2363ea04a9627b757c22a5.tar.gz ppe42-binutils-ea01195e3866838abe2363ea04a9627b757c22a5.zip |
* 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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-frv.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 57b09bcc2e..6ff4553a85 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c index 016f233545..488438e59b 100644 --- a/bfd/elf32-frv.c +++ b/bfd/elf32-frv.c @@ -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", |