2001-02-27 H.J. Lu <hjl@gnu.org>

* aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
	abfd->tdata.aout_data == NULL.
This commit is contained in:
H.J. Lu 2001-02-27 18:45:45 +00:00
parent 86168def62
commit 920581c57e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-02-27 H.J. Lu <hjl@gnu.org>
* aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
abfd->tdata.aout_data == NULL.
2001-02-27 Alan Modra <alan@linuxcare.com.au>
* elf32-hppa.c: Correct field selector in stub comments.

View File

@ -2906,7 +2906,8 @@ NAME(aout,bfd_free_cached_info) (abfd)
{
asection *o;
if (bfd_get_format (abfd) != bfd_object)
if (bfd_get_format (abfd) != bfd_object
|| abfd->tdata.aout_data == NULL)
return true;
#define BFCI_FREE(x) if (x != NULL) { free (x); x = NULL; }