From: Alexandre Oliva Date: Fri, 30 Jan 2004 21:11:37 +0000 (+0000) Subject: * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea01195e3866838abe2363ea04a9627b757c22a5;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 57b09bcc2ef..6ff4553a856 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2004-01-30 Alexandre Oliva + + * 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 * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c index 016f233545d..488438e59bc 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",