summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/section.c b/bfd/section.c
index b58cdfa630..fb19d8cc3a 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -835,6 +835,7 @@ bfd_section_list_clear (bfd *abfd)
abfd->section_count = 0;
memset (abfd->section_htab.table, 0,
abfd->section_htab.size * sizeof (struct bfd_hash_entry *));
+ abfd->section_htab.count = 0;
}
/*