Print this page
3638 ld confuses files with group sections and files that should lazy load

@@ -2341,11 +2341,11 @@
 
         /*
          * Indicate that this input file has groups to process.  Groups are
          * processed after all input sections have been processed.
          */
-        ifl->ifl_flags |= FLG_IS_GROUPS;
+        ifl->ifl_flags |= FLG_IF_GROUPS;
 
         return (1);
 }
 
 /*

@@ -2805,11 +2805,11 @@
          * any input sections to their output sections, process any groups.
          * Groups can contribute COMDAT items, which may get discarded as part
          * of placement.  In addition, COMDAT names may require transformation
          * to indicate different output section placement.
          */
-        if (ifl->ifl_flags & FLG_IS_GROUPS) {
+        if (ifl->ifl_flags & FLG_IF_GROUPS) {
                 for (ndx = 1; ndx < ifl->ifl_shnum; ndx++) {
                         Is_desc *isp;
 
                         if (((isp = ifl->ifl_isdesc[ndx]) == NULL) ||
                             (isp->is_shdr->sh_type != SHT_GROUP))