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
commit5e278f99e24b982b2067035ed492abc1450f6602 (patch)
tree82893b601b508cd27299ef0a3dc55486f5f59f5e /bfd/bfd.c
parentcdd63c0347f6281025a3b2cee5a47fa3676596dd (diff)
downloadbinutils-redhat-5e278f99e24b982b2067035ed492abc1450f6602.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 406efffbbc..a2d4ae90b6 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 *));