* PATCH: Fix ar/ranlib
@ 2005-05-05 17:32 H. J. Lu
0 siblings, 0 replies; only message in thread
From: H. J. Lu @ 2005-05-05 17:32 UTC (permalink / raw)
To: binutils
We are calling _bfd_dwarf2_cleanup_debug_info on archives. I checked in
the following patch to fix it.
H.J.
----
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_close_and_cleanup): Only call
_bfd_dwarf2_cleanup_debug_info on bfd_object.
--- elf.c.ar 2005-05-05 09:50:26.000000000 -0700
+++ elf.c 2005-05-05 10:17:35.000000000 -0700
@@ -6742,10 +6742,9 @@ _bfd_elf_close_and_cleanup (bfd *abfd)
{
if (elf_shstrtab (abfd) != NULL)
_bfd_elf_strtab_free (elf_shstrtab (abfd));
+ _bfd_dwarf2_cleanup_debug_info (abfd);
}
- _bfd_dwarf2_cleanup_debug_info (abfd);
-
return _bfd_generic_close_and_cleanup (abfd);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-05 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05 17:32 PATCH: Fix ar/ranlib H. J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).