mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
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:
@ -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)
|
Mon Nov 26 12:33:44 2001 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
|
* stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
|
||||||
|
@ -7861,6 +7861,9 @@ elf_bfd_discard_info (info)
|
|||||||
return false;
|
return false;
|
||||||
for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link_next)
|
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);
|
bed = get_elf_backend_data (abfd);
|
||||||
|
|
||||||
if ((abfd->flags & DYNAMIC) != 0)
|
if ((abfd->flags & DYNAMIC) != 0)
|
||||||
|
Reference in New Issue
Block a user