diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-11-06 06:43:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-11-06 06:43:59 +0000 |
commit | 07a037ea9109f017ca57c3bd4ba552e8b7a066e9 (patch) | |
tree | 44057c725db682a8cf22d9b4404ff223a7bd0659 /bfd/mach-o.c | |
parent | 868ecd6c513ddfbcf0bd5f795d32b988e12a7760 (diff) | |
download | gdb-07a037ea9109f017ca57c3bd4ba552e8b7a066e9.tar.gz |
* mach-o.c (bfd_mach_o_close_and_cleanup): Don't call
_bfd_generic_close_and_cleanup for mach_o_fat archives.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 0379f4f8e97..9a003e8f546 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -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); } |