mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we
have a bfd_object.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we
|
||||||
|
have a bfd_object.
|
||||||
|
|
||||||
Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com>
|
Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
Sparc v9 ABI compliant PLT:
|
Sparc v9 ABI compliant PLT:
|
||||||
@ -41,8 +46,8 @@ Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com>
|
|||||||
|
|
||||||
Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com>
|
Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com>
|
||||||
|
|
||||||
* config.bfd (i[3456]86-sco3.2v5*) ELF now the default.
|
* config.bfd (i[3456]86-sco3.2v5*): ELF now the default.
|
||||||
(i[3456]86sco3.2v5*coff) New target.
|
(i[3456]86sco3.2v5*coff): New target.
|
||||||
|
|
||||||
Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com>
|
Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
@ -4236,7 +4236,11 @@ boolean
|
|||||||
_bfd_elf_close_and_cleanup (abfd)
|
_bfd_elf_close_and_cleanup (abfd)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
{
|
{
|
||||||
if (elf_shstrtab (abfd))
|
if (bfd_get_format (abfd) == bfd_object)
|
||||||
_bfd_stringtab_free (elf_shstrtab (abfd));
|
{
|
||||||
|
if (elf_shstrtab (abfd) != NULL)
|
||||||
|
_bfd_stringtab_free (elf_shstrtab (abfd));
|
||||||
|
}
|
||||||
|
|
||||||
return _bfd_generic_close_and_cleanup (abfd);
|
return _bfd_generic_close_and_cleanup (abfd);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user