summaryrefslogtreecommitdiff
path: root/bfd/bfd.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/bfd.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/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 406efffbbc3..a2d4ae90b63 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -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 *));