diff options
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 26b28f2..c01e03d 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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) |