aboutsummaryrefslogtreecommitdiff
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
commited66ec07d2730c3472f9b8c6e11bfe3cdd27329a (patch)
tree6f5c478083938151af338dacb70fecf61d36b722 /bfd/elf.c
parentd42c4017ba4db98cfc668c170ebd1dce45a4a232 (diff)
downloadgdb-ed66ec07d2730c3472f9b8c6e11bfe3cdd27329a.zip
gdb-ed66ec07d2730c3472f9b8c6e11bfe3cdd27329a.tar.gz
gdb-ed66ec07d2730c3472f9b8c6e11bfe3cdd27329a.tar.bz2
* 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 44621e6..25570ec 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));