dangling pointer in coff64-rs6000 archive cache.

bfd/ChangeLog:

        * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup
        field to _bfd_archive_close_and_cleanup.
        (aix5coff64_vec): Likewise.
This commit is contained in:
Joel Brobecker 2012-10-16 22:56:55 +00:00
parent e3f9f6d818
commit 329e5cac87

View file

@ -2668,7 +2668,7 @@ const bfd_target rs6000coff64_vec =
}, },
/* Generic */ /* Generic */
bfd_true, _bfd_archive_close_and_cleanup,
bfd_true, bfd_true,
coff_new_section_hook, coff_new_section_hook,
_bfd_generic_get_section_contents, _bfd_generic_get_section_contents,
@ -2926,7 +2926,7 @@ const bfd_target aix5coff64_vec =
}, },
/* Generic */ /* Generic */
bfd_true, _bfd_archive_close_and_cleanup,
bfd_true, bfd_true,
coff_new_section_hook, coff_new_section_hook,
_bfd_generic_get_section_contents, _bfd_generic_get_section_contents,