Call bfd_cache_close_all on error
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Aug 2011 20:53:58 +0000 (20:53 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Aug 2011 20:53:58 +0000 (20:53 +0000)
commit2ae0848317a2855dc97745d7be0a9edccbae90e0
tree6acf1789f8ddb873c3188741fba416926e2628b9
parent4309cbf2b121cd331d5ed2910329f369d851f1bf
Call bfd_cache_close_all on error

2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/13056
* output-file.c (output_file_close): Call bfd_cache_close_all
on error.

* write.c (write_object_file): Revert the last change.
gas/ChangeLog
gas/output-file.c
gas/write.c