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

* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
	ELF.
This commit is contained in:
H.J. Lu 2001-11-27 19:03:27 +00:00
parent 3bccec6316
commit 163c1c309e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-11-27 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
ELF.
Mon Nov 26 12:33:44 2001 Jeffrey A Law (law@cygnus.com)
* stabs.c (_bfd_discard_section_stabs): Use PARAMS in function

View File

@ -7861,6 +7861,9 @@ elf_bfd_discard_info (info)
return false;
for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link_next)
{
if (bfd_get_flavour (abfd) != bfd_target_elf_flavour)
continue;
bed = get_elf_backend_data (abfd);
if ((abfd->flags & DYNAMIC) != 0)