* bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
This commit is contained in:
parent
d42c4017ba
commit
ed66ec07d2
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-06-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
|
||||
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
|
||||
|
||||
2006-06-20 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf-bfd.h: Formatting.
|
||||
|
|
|
@ -1336,6 +1336,8 @@ bfd_record_phdr (bfd *abfd,
|
|||
m->includes_filehdr = includes_filehdr;
|
||||
m->includes_phdrs = includes_phdrs;
|
||||
m->count = count;
|
||||
m->p_align_valid = FALSE;
|
||||
m->p_align = 0;
|
||||
if (count > 0)
|
||||
memcpy (m->sections, secs, count * sizeof (asection *));
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue