* dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
authorAlan Modra <amodra@gmail.com>
Wed, 1 Aug 2012 01:29:12 +0000 (01:29 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 1 Aug 2012 01:29:12 +0000 (01:29 +0000)
commit1c37913d0912bf1458072dd780f5b3ec24f047cc
treebcd7c3f4a43add260f87613d53eef4aa1a4b5f02
parentc2821c3e5548175cadc278dc860b04f9324c9baa
* dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
gnu_debuglink bfd.
(_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
bfd/ChangeLog
bfd/dwarf2.c