* mach-o.c (bfd_mach_o_close_and_cleanup): Don't call
_bfd_generic_close_and_cleanup for mach_o_fat archives.
This commit is contained in:
parent
0df8acdee9
commit
8c746b9642
|
@ -1,3 +1,8 @@
|
|||
2012-11-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* mach-o.c (bfd_mach_o_close_and_cleanup): Don't call
|
||||
_bfd_generic_close_and_cleanup for mach_o_fat archives.
|
||||
|
||||
2012-11-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec,
|
||||
|
|
|
@ -4864,6 +4864,9 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
|
|||
}
|
||||
}
|
||||
|
||||
if (bfd_get_format (abfd) == bfd_archive
|
||||
&& abfd->xvec == &mach_o_fat_vec)
|
||||
return TRUE;
|
||||
return _bfd_generic_close_and_cleanup (abfd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue