summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-06-20 09:58:36 +0000
committerJakub Jelinek <jakub@redhat.com>2006-06-20 09:58:36 +0000
commit81b19ceb4790e4b7a902e73f76fd4211ae0168be (patch)
tree4b592c2b62e22dbf98e8720ee9791bb5d0f1e7ef /bfd/elf.c
parent86b0622053f35b19c0e93af0a3dd43dfe0605acc (diff)
downloadgdb-81b19ceb4790e4b7a902e73f76fd4211ae0168be.tar.gz
* bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 44621e61020..25570eccb96 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1579,6 +1579,7 @@ _bfd_elf_link_hash_table_init
table->bucketcount = 0;
table->needed = NULL;
table->hgot = NULL;
+ table->hplt = NULL;
table->merge_info = NULL;
memset (&table->stab_info, 0, sizeof (table->stab_info));
memset (&table->eh_info, 0, sizeof (table->eh_info));