bfd/coff typo ?

Tristan Gingold gingold@adacore.com
Thu Mar 30 15:37:00 GMT 2017


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



More information about the Binutils mailing list