aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-frv.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-01-30 21:11:37 +0000
committerAlexandre Oliva <aoliva@redhat.com>2004-01-30 21:11:37 +0000
commitea01195e3866838abe2363ea04a9627b757c22a5 (patch)
tree68a7c88e82ee7a5d06d588cb18d0c27ce75a3eaf /bfd/elf32-frv.c
parent2a68b70e968968e8f47030cdf6369f1e6fef4d57 (diff)
downloadgdb-ea01195e3866838abe2363ea04a9627b757c22a5.zip
gdb-ea01195e3866838abe2363ea04a9627b757c22a5.tar.gz
gdb-ea01195e3866838abe2363ea04a9627b757c22a5.tar.bz2
* 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.
Diffstat (limited to 'bfd/elf32-frv.c')
-rw-r--r--bfd/elf32-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index 016f233..488438e 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",