]> Git Repo - binutils.git/blobdiff - bfd/seclet.c
@up/@down -> @raisesections/@lowersections
[binutils.git] / bfd / seclet.c
index b2b61bbac45ffad45f7962fa6d17476da5d6b484..5dcc59ab0ef88f67678be1369dbd188f21b022ba 100644 (file)
@@ -79,10 +79,7 @@ DEFUN(rel,(abfd, seclet, output_section, data, relocateable),
       PTR data AND
       boolean relocateable)
 {
-
-  if (output_section->flags & SEC_HAS_CONTENTS 
-      && !(output_section->flags & SEC_NEVER_LOAD)
-      && (output_section->flags & SEC_LOAD)
+  if ((output_section->flags & SEC_HAS_CONTENTS) != 0
       && seclet->size)
   {
     data = (PTR) bfd_get_relocated_section_contents(abfd, seclet, data,
@@ -128,7 +125,7 @@ DEFUN(seclet_dump_seclet,(abfd, seclet, section, data, relocateable),
          d[i] = seclet->u.fill.value ;
        }
        /* Don't bother to fill in empty sections */
-       if (!bfd_get_section_flags(abfd, section) & SEC_HAS_CONTENTS) 
+       if (!(bfd_get_section_flags(abfd, section) & SEC_HAS_CONTENTS))
          {
            return true;
          }
This page took 0.02363 seconds and 4 git commands to generate.