summaryrefslogtreecommitdiffstats
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-09-23 03:59:25 +0000
committerAlan Modra <amodra@gmail.com>2003-09-23 03:59:25 +0000
commit010b84c1d31c9b6a24ec2d4407f7662c5db2470f (patch)
tree0e316e0e0cc20280a45401d3625890122d994ce7 /bfd
parentea16ac837fa8271d9e7984b7e0777704c4b103ed (diff)
downloadppe42-binutils-010b84c1d31c9b6a24ec2d4407f7662c5db2470f.tar.gz
ppe42-binutils-010b84c1d31c9b6a24ec2d4407f7662c5db2470f.zip
* simple.c (bfd_simple_get_relocated_section_contents): Free the
hash table using _bfd_generic_link_hash_table_free.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/simple.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bffa6ec0cf..a11ef67661 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2003-09-23 Alan Modra <alan@modra.org>
+ * simple.c (bfd_simple_get_relocated_section_contents): Free the
+ hash table using _bfd_generic_link_hash_table_free.
+
+2003-09-23 Alan Modra <alan@modra.org>
+
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
type of prefix_length and suffix_length to int. Rename "attributes"
to "attr". Comment.
diff --git a/bfd/simple.c b/bfd/simple.c
index 9044c28b38..afed604558 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -265,7 +265,7 @@ bfd_simple_get_relocated_section_contents (bfd *abfd,
bfd_map_over_sections (abfd, simple_restore_output_info, saved_offsets);
free (saved_offsets);
- bfd_link_hash_table_free (abfd, link_info.hash);
+ _bfd_generic_link_hash_table_free (link_info.hash);
RETURN (contents);
}
OpenPOWER on IntegriCloud