OSDN Git Service

* simple.c (bfd_simple_get_relocated_section_contents): Free the
authoramodra <amodra>
Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)
committeramodra <amodra>
Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)
hash table using _bfd_generic_link_hash_table_free.

bfd/ChangeLog
bfd/simple.c

index bffa6ec..a11ef67 100644 (file)
@@ -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.
index 9044c28..afed604 100644 (file)
@@ -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);
 }