Dangling bfd pointer in archive cache.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 16 Oct 2012 22:47:03 +0000 (22:47 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 16 Oct 2012 22:47:03 +0000 (22:47 +0000)
commite3f9f6d81805e5f43a8275edc52d2d34069015d4
tree1eacad8c4fefec14bde4aa40166da2a25d6c73c7
parentae034989da9cc0805cb02a6bd53f4fce3a5adfe9
Dangling bfd pointer in archive cache.

This dandling pointer eventually leads to a crash when trying to run
on ppc-aix a program using threading...

bfd/ChangeLog:

        * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup
        field to _bfd_archive_close_and_cleanup.
        (pmac_xcoff_vec): Likewise.
bfd/ChangeLog
bfd/coff-rs6000.c