projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df8acd
)
* mach-o.c (bfd_mach_o_close_and_cleanup): Don't call
author
Alan Modra
<amodra@gmail.com>
Tue, 6 Nov 2012 06:44:01 +0000
(06:44 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 6 Nov 2012 06:44:01 +0000
(06:44 +0000)
_bfd_generic_close_and_cleanup for mach_o_fat archives.
bfd/ChangeLog
patch
|
blob
|
history
bfd/mach-o.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 6e6937ceb0e52db0965de287ecd5e4067f74dde7..cea4177ecd566bb94d9cb1b3f8827a511826eb2f 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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,
diff --git
a/bfd/mach-o.c
b/bfd/mach-o.c
index 0379f4f8e97857b972dd094a71f87c088ce84321..9a003e8f5469be9e525fa6b931d9fc3496bb2c52 100644
(file)
--- 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);
}