This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
bfd/coff typo ?
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils at sourceware dot org
- Date: Thu, 30 Mar 2017 17:37:15 +0200
- Subject: bfd/coff typo ?
- Authentication-results: sourceware.org; auth=none
Not yet a patch, but is it a typo ?
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 5a61f6d..21d52e4 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -2869,7 +2869,7 @@ _bfd_coff_gc_mark_extra_sections (struct
bfd_link_info *info,
asection *isec;
bfd_boolean some_kept;
- if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour)
+ if (bfd_get_flavour (ibfd) != bfd_target_coff_flavour)
continue;
/* Ensure all linker created sections are kept, and see whether