aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-10-16 22:56:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-10-16 22:56:55 +0000
commit329e5cac873b8900a72356befb46e8a984afde29 (patch)
treeaa749cd502468e1d85f513b1cc2646ba85529d16 /bfd
parente3f9f6d81805e5f43a8275edc52d2d34069015d4 (diff)
downloadgdb-329e5cac873b8900a72356befb46e8a984afde29.zip
gdb-329e5cac873b8900a72356befb46e8a984afde29.tar.gz
gdb-329e5cac873b8900a72356befb46e8a984afde29.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/coff64-rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 0821b6f..5f4a502 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -2668,7 +2668,7 @@ const bfd_target rs6000coff64_vec =
},
/* Generic */
- bfd_true,
+ _bfd_archive_close_and_cleanup,
bfd_true,
coff_new_section_hook,
_bfd_generic_get_section_contents,
@@ -2926,7 +2926,7 @@ const bfd_target aix5coff64_vec =
},
/* Generic */
- bfd_true,
+ _bfd_archive_close_and_cleanup,
bfd_true,
coff_new_section_hook,
_bfd_generic_get_section_contents,