Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
[deliverable/binutils-gdb.git] / bfd / xcofflink.c
index ddb9cad4a1ece5ec3fcae3526501e34a6c30fb0b..681e1e275e187ba0f9c3e064de4bb9489e8128ef 100644 (file)
@@ -3221,7 +3221,7 @@ _bfd_xcoff_bfd_final_link (abfd, info)
                 link.  This will normally be every section.  We need
                 to do this so that we can identify any sections which
                 the linker has decided to not include.  */
-             sec->flags |= SEC_LINKER_MARK;
+             sec->linker_mark = true;
 
              if (info->strip == strip_none
                  || info->strip == strip_some)
@@ -4577,7 +4577,7 @@ xcoff_link_input_bfd (finfo, input_bfd)
     {
       bfd_byte *contents;
 
-      if ((o->flags & SEC_LINKER_MARK) == 0)
+      if (! o->linker_mark)
        {
          /* This section was omitted from the link.  */
          continue;
This page took 0.02519 seconds and 4 git commands to generate.