bfd/
[deliverable/binutils-gdb.git] / bfd / elflink.c
index 34816fac9a38a7b1ef2c194d720ab2fa533d699c..1dad504772786d0f80e427f4cd01013a25b6343a 100644 (file)
@@ -9794,7 +9794,7 @@ bfd_elf_gc_sections (bfd *abfd, struct bfd_link_info *info)
        continue;
 
       for (o = sub->sections; o != NULL; o = o->next)
-       if ((o->flags & SEC_KEEP) != 0 && !o->gc_mark)
+       if ((o->flags & (SEC_EXCLUDE | SEC_KEEP)) == SEC_KEEP && !o->gc_mark)
          if (!_bfd_elf_gc_mark (info, o, gc_mark_hook))
            return FALSE;
     }
This page took 0.027133 seconds and 4 git commands to generate.