Call _close_and_cleanup in bfd_close_all_done
PR binutils/22032 * opncls.c (bfd_close_all_done): Call _close_and_cleanup.
This commit is contained in:
parent
0f2425c4c8
commit
7c0ed39626
|
@ -1,3 +1,8 @@
|
|||
2017-08-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/22032
|
||||
* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
|
||||
|
||||
2017-08-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed.
|
||||
|
|
|
@ -776,6 +776,9 @@ bfd_close_all_done (bfd *abfd)
|
|||
|
||||
ret = bfd_cache_close (abfd);
|
||||
|
||||
if (! BFD_SEND (abfd, _close_and_cleanup, (abfd)))
|
||||
return FALSE;
|
||||
|
||||
if (ret)
|
||||
_maybe_make_executable (abfd);
|
||||
|
||||
|
|
Loading…
Reference in New Issue