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:
parent
86168def62
commit
920581c57e
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2001-02-27 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* elf32-hppa.c: Correct field selector in stub comments.
|
* elf32-hppa.c: Correct field selector in stub comments.
|
||||||
|
|
|
@ -2906,7 +2906,8 @@ NAME(aout,bfd_free_cached_info) (abfd)
|
||||||
{
|
{
|
||||||
asection *o;
|
asection *o;
|
||||||
|
|
||||||
if (bfd_get_format (abfd) != bfd_object)
|
if (bfd_get_format (abfd) != bfd_object
|
||||||
|
|| abfd->tdata.aout_data == NULL)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
#define BFCI_FREE(x) if (x != NULL) { free (x); x = NULL; }
|
#define BFCI_FREE(x) if (x != NULL) { free (x); x = NULL; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue