diff options
author | Alan Modra <amodra@gmail.com> | 2003-09-23 03:59:25 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-09-23 03:59:25 +0000 |
commit | 010b84c1d31c9b6a24ec2d4407f7662c5db2470f (patch) | |
tree | 0e316e0e0cc20280a45401d3625890122d994ce7 /bfd | |
parent | ea16ac837fa8271d9e7984b7e0777704c4b103ed (diff) | |
download | gdb-010b84c1d31c9b6a24ec2d4407f7662c5db2470f.zip gdb-010b84c1d31c9b6a24ec2d4407f7662c5db2470f.tar.gz gdb-010b84c1d31c9b6a24ec2d4407f7662c5db2470f.tar.bz2 |
* 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/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/simple.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bffa6ec..a11ef67 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 9044c28..afed604 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); } |